Select radio button through JQuery 1

Select radio button through JQuery

$("#radio_1").prop("checked", true);

Here is what the above code is Doing:
1. It’s selecting the element with the id of “radio_1”
2. It’s setting the checked property to true

Similar Posts