I have a set of selects that all have the same options. Then I run those options through a filter so that any options that are selected in a different select don\'t show up
The rendering gets updated and synched if you change some attribute. An innocuous change may be to set the selectedIndex attribute to its own value:
function fixIEselect() {
for (var nForm = 0; nForm < document.forms.length; ++nForm) {
var form = document.forms[nForm];
var children = form.children;
for (var nChild = 0; nChild < children.length; ++nChild) {
var child = children.item(nChild);
if (child.tagName == "SELECT") {
alert("Fixed: " + child.name);
child.selectedIndex = child.selectedIndex; // dummy nop but not
}
}
}
}
fixIEselect();