摘要: 动态删除select中的所有options: document.getElementById("ddlResourceType").options.length=0; 动态删除select中的某一项option: document.getElementById("ddlResourceType").options.remove(indx); 动态添加select中的项option: document.getElementById("ddlResourceType").options.add(new Option(text,value) 阅读全文
posted @ 2010-09-14 19:37 Pocter 阅读(151) 评论(0) 推荐(0) 编辑