Skip to content

Instantly share code, notes, and snippets.

@justinlyman
Last active January 22, 2016 18:31
Show Gist options
  • Save justinlyman/9cdd49024105b61e7112 to your computer and use it in GitHub Desktop.
Save justinlyman/9cdd49024105b61e7112 to your computer and use it in GitHub Desktop.
$('#checkbox').change ->
if @checked
$('#id_container').removeClass('hidden')
else
$('#id_container').addClass('hidden')
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment