Hello,
I'm writing a form where it puts a red asterisk next to required
fields, and depending on a few Yes/No questions, the asterisks will
change. This works great in IE but not in Netscape or Mozilla. Can
someone give me pointers on what's going wrong? Below is a sample of
the code for one entry.
I stripped out all the formatting and unneeded code since the form
this is from is over 1200 lines.
Thanks for any suggestions.
Keegan.
....snip...
<script type="text/javascript">
function employedY() {
document.getElementById("EmpAsterisk1").style.visi bility =
"visible";
}
function EmployedN() {
document.getElementById("EmpAsterisk1").style.visi bility = "hidden";
}
</script>
....snip...
Are you employed?
<INPUT TYPE="RADIO" NAME="EmployedYesNo" VALUE="Yes"
onclick="employedY()"> Yes
<INPUT TYPE="RADIO" NAME="EmployedYesNo" VALUE="No"
onclick="EmployedN()" checked> No
<span id="EmpAsterisk1" style="visibility:hidden;"><font size="4"
color="#FF0000#"><b>*</b></font></span>
Employer:<INPUT TYPE="TEXT" NAME="Employer">
....snip...