Friday, February 22, 2013

Dynamically checked radio button, based on 'value' attribute


$(function() {
    var $213 = "Yes";
    $("input[name=sv_213][value="+$213+"]").attr('checked', true);

    });

Refer : http://jsfiddle.net/CW8AC/

No comments:

Post a Comment