$.postJSON()
Like the getJSON but for POST-Requests
$.postJSON = function (url, data, callback) {
$.ajax({
url: url,
type: "POST",
data: data,
dataType: "json",
success: callback
});
};
Like the getJSON but for POST-Requests
$.postJSON = function (url, data, callback) {
$.ajax({
url: url,
type: "POST",
data: data,
dataType: "json",
success: callback
});
};