I am trying to implement two cascading html selects (i.e. selectedindex from the first determines the options in the second). The following code works fine in FireFox but not IE.
for (var i = 0; i < origProcDDL.length; i++)
{
if (selectedMod != origProcDDL.options.item(i).attributes.getNamedItem('value').nodeValue)
{
origProcDDL.options.item(i).className = "hide";
}
}
}
function resetProcedures()
{
//refresh the list
for (i = 0; i < origProcDDL.length; i++) {
origProcDDL.options.item(i).className = "";
}
}