摘要: <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 = " 阅读全文
posted @ 2011-05-23 23:07 乐上 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 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 " 阅读全文
posted @ 2011-05-23 14:40 乐上 阅读(1939) 评论(0) 推荐(0) 编辑