function RemoveAllOptions(selector)
{
while(selector.hasChildNodes()) selector.removeChild(selector.childNodes[0]);
}
More From khadlock
Tags: JavaScript
function RemoveAllOptions(selector)
{
while(selector.hasChildNodes()) selector.removeChild(selector.childNodes[0]);
}
Tags: JavaScript