Hiding a radio button

liunx

Guest
Hi,<br />
<br />
I need to call a javascript function to hide a radio button in my form. The function is called from somewhere in my form. How can I do that.<br />
<input type=radio name="switch" value="fisrt"><br />
<input type=radio name="switch" value="last"><br />
<br />
<br />
Thanks<!--content--><input type=radio name="switch" value="fisrt"><br />
<input type=radio name="switch" value="last"><br />
<br />
<br />
<input type=radio name="switch" value="fisrt" onClick="this.form.last.style.display='none';"><br />
<input type=radio name="switch" value="last" onClick="this.form.last.style.display='none';"><!--content-->
 
Back
Top