mayman212 Posted October 4, 2011 Share Posted October 4, 2011 I am trying to validate radio buttons for gender using Jquery, but have no clue as to how I go about doing it, the different ways I've tried do not seem to work> anybody have any help. I have included the form part for the gender radio buttons. <tr> <td>Gender</td> <td><input type="radio" name="gender"value="Male" <?php if($row['Gender']=='male'){echo 'checked';}?> /> Male<input type="radio" name="gender" value="Female" <?php if($row['Gender']=='female'){echo 'checked';}?>/> Female</td> </tr> Quote Link to comment https://forums.phpfreaks.com/topic/248388-jquery-validating-radio-button/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.