摘要:
<script type ="text/javascript"> $(document).ready(function(){ $("#Web1_hid").val($("#div").html()); // select add 1. $("#sel").append("<option value='213123'>24324</option>"); //add 2. var op = new Option(); op.text = " 阅读全文
摘要:
Working ExampleThe following is an example showing an already populated select. Clicking the "Add option" button adds a new option to the end of the select and makes it the selected one. Clicking "Replace options" replaces them with a new set of options and then selects the " 阅读全文