I'm trying to get different divs to appear and disappear by selecting
different options from a dropdown menu.
Right now I'm using this in the dropdown code:
<select name="contacttype" onchange="changecontacttype();">
function that switches divs on and off with this code in the
document.all.DIVNAME.style.display = "block";
document.all.DIVNAME.style.display = "none";
(replace DIVNAME with the name of the div that is to be affected)
This works great in IE 5 for OSX and OS9, and IE 6 in windows, but I
can't get it to work in mozilla. Is there a better way to do this that
is more cross platform?