<input type="radio" name="sort" value="2" id="myradio">
How do I make this checked in JQUERY?
In addition to using id...
$('input[name="sort"]').attr('checked',true);
$('input[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