Skip to content

Instantly share code, notes, and snippets.

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