C
Chris
How do I amend the following code to skip removing the first option in
my dropdown list i.e. I want the first option "Please select..." to
stay?
while (document.getElementById("mycombo").childNodes.length > 0) {
document.getElementById("mycombo").removeChild(document.getElementById("mycombo").childNodes[0])
}
Many thanks,
Chris
my dropdown list i.e. I want the first option "Please select..." to
stay?
while (document.getElementById("mycombo").childNodes.length > 0) {
document.getElementById("mycombo").removeChild(document.getElementById("mycombo").childNodes[0])
}
Many thanks,
Chris