Skip to content

Instantly share code, notes, and snippets.

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