i have many checkbox:
<input type="checkbox" name="checkbox_user" value = "1"/>
<input type="checkbox" name="checkbox_user" value = "2"/>
<input type="checkbox" name="checkbox_user" value = "3"/>
...
and checkbox with value 2 is selected. Is possible unselect checkbox (with jQuery) when i now only value.
$("input:checkbox[value=2]").attr("checked", true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With