Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/script.js Secret

Created Sep 2, 2015
Embed
What would you like to do?
Twine jQuery Click Event
<div class="clickMe">Click me!</a>
<div class="replaceMe"></div>
<script>
$(".clickMe").click(function() {
$(".replaceMe").text("This text will be shown after the click!");
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment