uncheck all radio button jquery
$('.classname').prop('checked', false);
uncheck all radio button jquery
$('.classname').prop('checked', false);
unset radio button jquery by name
$("input:radio[name='thename']").each(function(i) {
this.checked = false;
});
jquery select specific radio button by value
$("input[name=mygroup][value=" + value + "]").prop('checked', true);
radio button group html jquery
<input type="radio" id="radio1" name="RadioGroup1" value="1" checked="true"/>
<input type="radio" id="radio2" name="RadioGroup1" value="2" />
<input type="radio" id="radio3" name="RadioGroup1" value="3" />
//in your jquery
var value = $("input[name=RadioGroup1]:checked").val();
alert("The user selected; " + value);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us