Created
May 16, 2015 01:32
-
-
Save jordanhudgens/d21ea5a586e1e21442e6 to your computer and use it in GitHub Desktop.
Sample AJAX call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sampleExerciseSave = -> | |
$.ajax | |
type: 'POST' | |
url: '/scores/new' | |
data: $('.edit_book_chapter').serialize() | |
dataType: 'script' | |
success: (data) -> | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment