Skip to content

Instantly share code, notes, and snippets.

@thams017
Last active March 4, 2016 05:35
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 thams017/a110fa41afcab974f3d0 to your computer and use it in GitHub Desktop.
Save thams017/a110fa41afcab974f3d0 to your computer and use it in GitHub Desktop.
Increment points
function incPoints() {
var res = parseInt(jQuery("#points").val());
res = res + 1;
jQuery("#points").val(res);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment