2、在index.html中的<script>标签,输入js代码:. var value = $('#myselect').val(); var text = $('#myselect').find("option:selected").text();
確定! 回上一頁