Sunday, 25 August 2013

jquery is unable to set the prettyCheckable radio button programmatically

jquery is unable to set the prettyCheckable radio button programmatically

on button click i tried all the things. but nithing works. please help
$('#rdTypeAdd').buttonset();
$('[name="rdTypeAdd"][value="+"]').prop("checked", true);
$('#rdTypeAdd').buttonset("refresh");
//$('[name="rdTypeAdd"][value="+"]').attr("checked", true);
//$('[name="rdTypeAdd"][value="+"]').prop("checked",
true).trigger("change");
//($('.rdTypeAdd').prop('checked',true));

No comments:

Post a Comment