A code example of how to remove all items from a drop down list with JavaScript would be greatly appreciated.
Visual Studio 2010
Try document.myForm.myList.Clear(); - else loop through the items and delete them one by one
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that." - Zack de la Rocha Hear me roar.
.Clear doesn't seem to work, but I did find that I can just set the options.length = 0 and that clears the items.
Forum Rules