jquery - When click a link, Need to add checked attribute in radio button -


please me how it, trying jquery didn't work:

image

$('#linkid').click(function(e){ e.preventdefault(); $('.classradiobuttons').prop('checked',true); }) 

use class="classradiobuttons" on check boxes need checked paticular link give new id link , same other radiobutton new class name


Comments