Check if checkbox checked or not in jQuery
Check if checkbox checked or not and show hide element.
$("#markup_data").hide();
$("#markup").click(function() {
if ($(this).prop("checked") == true){
$("#markup_data").show();
}
else{
$("#markup_data").hide();
}
});
Post a Comment