Skip to content

Instantly share code, notes, and snippets.

@laffy
Created May 22, 2012 09:00

Revisions

  1. laffy created this gist May 22, 2012.
    5 changes: 5 additions & 0 deletions gistfile1.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    jQuery ->
    $('#password_prompt_form').submit ->
    $.post(this.action, { passcode: $('#passcode').val() }) ->
    $('#passcode_response').html(data)
    return false