Skip to content

Instantly share code, notes, and snippets.

@howtomakeaturn
Created August 8, 2016 13:59
Show Gist options
  • Save howtomakeaturn/926f26e4ff0155cc0ab71dc697332d8d to your computer and use it in GitHub Desktop.
Save howtomakeaturn/926f26e4ff0155cc0ab71dc697332d8d to your computer and use it in GitHub Desktop.
<input onclick="if ( confirm('sure?') ) { this.disabled=true; this.value='處理中,請稍候...'; this.form.submit(); }else{return false;};" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment