Deltaflyer
Programmer
Does anybody know how to use JS to make a page element vanish?
I have the following
o Radio Button 1
o Radio Button 2
o Radio Button 2.1
o Radio Button 2.2
o Radio Button 3
and would like a way to hide the red selection until Radio Button 2 is selected. In IE this is easily done with
<script>
document.myname.radiobutton21.style.visibility='hidden'
document.myname.radiobutton22.style.visibility='hidden'
</script>
at the bottom of the page and when the radio button is clicked call function radbutshow()
<script>
function radbutshow()
{
document.myname.radiobutton21.style.visibility='visible'
document.myname.radiobutton22.style.visibility='visible'
}
</script>
however this does not work in netscape, please help me?????? DeltaFlyer ;-)
DeltaFlyer - The Only Programmer To Crash With Style.
I have the following
o Radio Button 1
o Radio Button 2
o Radio Button 2.1
o Radio Button 2.2
o Radio Button 3
and would like a way to hide the red selection until Radio Button 2 is selected. In IE this is easily done with
<script>
document.myname.radiobutton21.style.visibility='hidden'
document.myname.radiobutton22.style.visibility='hidden'
</script>
at the bottom of the page and when the radio button is clicked call function radbutshow()
<script>
function radbutshow()
{
document.myname.radiobutton21.style.visibility='visible'
document.myname.radiobutton22.style.visibility='visible'
}
</script>
however this does not work in netscape, please help me?????? DeltaFlyer ;-)
DeltaFlyer - The Only Programmer To Crash With Style.