1. JavaScript
var oSel= document.form1.DropDownCity;
while(oSel.options.length>0){
oSel.removeChild(oSel.options[0]);
}
2. JavaScript
3. JavaScript
4. JavaScript
removeOption Usage in IE
function removeOption(index)
{
document.getElementById("selUnassignedUsers").options.remove(index);
}
removeOption Usage in FF
function removeOption(index)
{
document.getElementById("selUnassignedUsers") .remove(index);
}