Skip to content

Instantly share code, notes, and snippets.

@Sstobo
Last active October 26, 2017 19:00
Show Gist options
  • Save Sstobo/669b1c86efafa40696463dad92620129 to your computer and use it in GitHub Desktop.
Save Sstobo/669b1c86efafa40696463dad92620129 to your computer and use it in GitHub Desktop.
[Counter button] #js
$("#update").click(function() {
count++;
$("#counter").html("My current count is: "+count);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment