Abdullah Al Faruk Abdullah Al Faruk - 3 months ago 6
jQuery Question

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

Please Some help me how to do it, I am trying by jquery but didn't work:

image

Answer
$('#linkID').click(function(e){
e.preventDefault();
$('.classradiobuttons').prop('checked',true);
})

use class="classradiobuttons" on all your check boxes that need to be checked for that paticular link similarly give a new id to another link and do the same with other radiobutton with a new class name