Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 339 Bytes
$.ajax({
url: "${1:mydomain.com/url}",
type: "${2:POST}",
dataType: "${3:xml/html/script/json}",
data: $.param( $("${4:Element or Expression}") ),
complete: function() {
${5://called when complete}
},
success: function() {
${6://called when successful}
},
error: function() {
${7://called when there is an error}
},
});
Something went wrong with that request. Please try again.