Skip to content

Instantly share code, notes, and snippets.

@philipmadeley
Last active September 16, 2015 01:59
Show Gist options
  • Save philipmadeley/fd9e698a38f383ead2d9 to your computer and use it in GitHub Desktop.
Save philipmadeley/fd9e698a38f383ead2d9 to your computer and use it in GitHub Desktop.
Any input is:checked - show/hide
$(document).ready(function() {
var $action = $(".action-btn").hide(),
$anyInput = $('.table-list input').click(function() {
$action.toggle( $anyInput.is(":checked") );
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment