Skip to content

Instantly share code, notes, and snippets.

@jhaynie
Created December 7, 2008 20:32
Show Gist options
  • Save jhaynie/33237 to your computer and use it in GitHub Desktop.
Save jhaynie/33237 to your computer and use it in GitHub Desktop.
<input type='text' value='1' id='foo' />
<button on="click then value[id=foo,value=expr(String(parseInt($('foo').value)+10))]">Try</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment