mesh2005
06-16-2007, 05:14 PM
I use the following code but it didn't work:<br>
var selectList = document.getElementById("mylist");
for (i=0;i<selectList.options.length;i++)
{
selectList.removeChild(selectList.options.item(i));
}
Please help.
var selectList = document.getElementById("mylist");
for (i=0;i<selectList.options.length;i++)
{
selectList.removeChild(selectList.options.item(i));
}
Please help.