funkydonkey2000
Programmer
Just wondering if you want your page to do something immediately when the user click on one of you radio buttons on your form, do you have to add a onclick attribute to all your radio button tags. such as this
<input type='radio' name='radioName' value='0' onclick=javascript:somefunction>0<br>
<input type='radio' name='radioName' value='1' onclick=javascript:somefunction>1<br>
<input type='radio' name='radioName' value='2' onclick=javascript:somefunction>2<br>
or is there a better way of doing it?
Thanks
Tony
<input type='radio' name='radioName' value='0' onclick=javascript:somefunction>0<br>
<input type='radio' name='radioName' value='1' onclick=javascript:somefunction>1<br>
<input type='radio' name='radioName' value='2' onclick=javascript:somefunction>2<br>
or is there a better way of doing it?
Thanks
Tony