Answers for "radio button select only one html"

55

radio buttons html

<input type="radio" name="gender" value="male"> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
Posted by: Guest on February-09-2020
0

radio button group get value javascript

$('input[name=gender]:checked').val();
Posted by: Guest on April-12-2020

Code answers related to "radio button select only one html"

Browse Popular Code Answers by Language