radio buttons

admin

Administrator
Staff member
i have a opinion poll.code is as follows:
Opinion Poll:<br>
what is your opinion regarding this HelpDesk Website:<br>
<br>
<input type=radio name=r1 value=http://www.webdeveloper.com/forum/archive/index.php/g>Good
<input type=radio name=r1 value=a>Average
<input type=radio name=r1 value=b>Bad<br><br>
<input type=hidden name=a1>
<input type=hidden name=r1ans value=b>
Cast Your Vote:
<input type=button value="Submit" ></b><br>
</form>


now i want to check first whether the button is checked or not and then capture the value of that particular checked radio button.
how to do this
thanks
 
Back
Top