摘要:
<script type="text/javascript"> $(document).ready(function () { getScatalog("paidang", "M06"); });function getScatalog(selectid,BaseCode) { if (BaseCode != "") { $.ajax({ url: "ajax/getCatalogByBasecode.aspx", data: "code=" + encodeUR 阅读全文
摘要:
1.js var obj=document.getElementById(selectid); obj.options.length = 0; //清除所有内容 obj.options[index] = new Option("three",3); //更改对应的值obj.options[index].selected = true; //保持选中状态obj.add(new Option... 阅读全文
摘要:
例子: var temp=document.getElementsByTagName("input"); for (i = 0; i < temp.length; i++) { if (temp[i].id != "" && temp[i].id!=null) { document.getElementById(temp[i].id... 阅读全文