How to radio button checked using jQuery

You can use the jQuery prop() method to check or uncheck radio button dynamically such as on click of button or an hyperlink etc. The prop() method require jQuery 1.6 and above. You may also like if condition for radio button using jQuery and How to Checkbox value 0 or 1 using jquery.

Code

$("#Geneder").prop("checked", true);
$("#Geneder").prop("checked", false);

Leave a Reply

Your email address will not be published. Required fields are marked *