Skip to content

Instantly share code, notes, and snippets.

@umair-me
Created September 16, 2013 13:37
Show Gist options
  • Save umair-me/6580786 to your computer and use it in GitHub Desktop.
Save umair-me/6580786 to your computer and use it in GitHub Desktop.
jQuery checkbox click to show/hide div
$('#CheckBoxID').click(function () {
if ($(this).is(':checked')) {
$('#DivID').show();
} else {
$('#DivID').hide();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment