摘要:
Select的动态添加、删除、移动、获取选中项的值、排序等等操作。function AddOption(obj,text,value,title){var selTarget = document.getElementByIdx(obj);var seltitle = selTarget.title;var op = document.createElement_x_x("option"); op.text =text; op.value =value; op.title =title; if(seltitle== title){ op.selected= true; }s 阅读全文