Skip to content

Instantly share code, notes, and snippets.

@laffy
Created May 22, 2012 09:01
Show Gist options
  • Save laffy/2767720 to your computer and use it in GitHub Desktop.
Save laffy/2767720 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