Created
October 8, 2014 21:12
-
-
Save chrisciampoli/29ace906deb80f05763e to your computer and use it in GitHub Desktop.
jQuery.Ajax Scaffold
This file contains 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
$.ajax({ | |
url: url, | |
type: type, | |
dataType: dataType, | |
data: data, | |
beforeSend: function(data) { | |
beforeSend(data); | |
}, | |
success: function(data) { | |
success(data); | |
//console.log(data); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment