JQuery:
$('#chkCaption').live("click", function() {
if ($('#chkCaption').attr("checked")) {
$('#divCaption').show();
}
else {
$('#divCaption').hide();
}
});
But it is not work.Help to find my mistake or suggest the way.Thanks.
try this:
this should be in document.ready.
Instead of Jquery
attrorisyou can use javascript propertychecked