I am having problems with my the span tag display property. I am using the span tag to show or hide text in a form.
If <span id="name" STYLE="display:none"> then no text shows. If
<span id="name" STYLE="display: "> then the text shows.
This works fine in IE but in Netscape all my hidden text is showing. It seems that Netscape doesn't like the "display:none" style of the span tag. My
JS function changes the display of the span tag based on the click of another field:
function ShowSpan()
{
if (document.studreg.service[0].checked)
name.style.display='';
else
name.style.display='none';
}
This
JS function does not work in Netscape but works fine in IE. Can you help please?