G
gattaca8
The following script works fine in IE...but gives me a "sBox has no
properties" error in Firefox. sBox is only used in the below method.
function addTop (sectId) {
sBox = document.getElementById("addo_" + sectId);
topo = sBox.options[sBox.selectedIndex].value;
if (topo != '0'){
drawTop(sectId, topo);
} else {
alert('Please select a topic.');
}
}
I can't see the problem...anyone have any suggestions to try? Thanks
for your time.
properties" error in Firefox. sBox is only used in the below method.
function addTop (sectId) {
sBox = document.getElementById("addo_" + sectId);
topo = sBox.options[sBox.selectedIndex].value;
if (topo != '0'){
drawTop(sectId, topo);
} else {
alert('Please select a topic.');
}
}
I can't see the problem...anyone have any suggestions to try? Thanks
for your time.