Skip to content

Instantly share code, notes, and snippets.

@laffy
Created May 22, 2012 09:00
Show Gist options
  • Save laffy/2767711 to your computer and use it in GitHub Desktop.
Save laffy/2767711 to your computer and use it in GitHub Desktop.
jQuery ->
$('#password_prompt_form').submit ->
$.post(this.action, { passcode: $('#passcode').val() }) ->
$('#passcode_response').html(data)
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment