Bladephp: Now with 8+ codeigniter, php, and laravel project 8+ php project From $37/Month From Rs. 2499/Month

How to radio button checked using jQuery

by
Category:javascript
php ajax javascript jquery
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);

0 Comments


Html code work in comment box


Related Post