Remove a item from dropdownlist

Rajni.Shekhar
Posted by Rajni.Shekhar under JavaScript category on | Points: 40 | Views : 1012
function removeOptions(ddlID) {
var i;
for (i = ddlID.options.length - 1; i >= 0; i--)
ddlID.remove(i);
}

Comments or Responses

Login to post response