Skip to content

Instantly share code, notes, and snippets.

@videlais
Created September 2, 2015 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save videlais/b4c76ebdc7ac28a1b1f0 to your computer and use it in GitHub Desktop.
Save videlais/b4c76ebdc7ac28a1b1f0 to your computer and use it in GitHub Desktop.
Twine jQuery Hide Event
<div class="clickMe">Click me!</a>
<div class="replaceMe">This text will be hidden after the click!</div>
<script>
$(".clickMe").click(function() {
$(".replaceMe").hide();
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment