Skip to content

Instantly share code, notes, and snippets.

@chrisciampoli
Created October 8, 2014 21:12
Show Gist options
  • Save chrisciampoli/29ace906deb80f05763e to your computer and use it in GitHub Desktop.
Save chrisciampoli/29ace906deb80f05763e to your computer and use it in GitHub Desktop.
jQuery.Ajax Scaffold
$.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