Skip to content

Instantly share code, notes, and snippets.

@zealfire
Created November 13, 2016 19:21
Show Gist options
  • Save zealfire/488525d32dc848f0933f6d9b2ad43717 to your computer and use it in GitHub Desktop.
Save zealfire/488525d32dc848f0933f6d9b2ad43717 to your computer and use it in GitHub Desktop.
$(document).ready(function() {
function jQuerySubmit(type, url, data, contentType, dataType, handler) {
$.ajax({
type: type,
url: url,
data: data,
contentType: contentType
dataType: dataType,
success: handler
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment