Ever wanted a getJSON which does a post?
Here it is:
jQuery.extend({
postJSON: function(url, data, callback)
{
$.post(url, data, callback, "json");
}
});
Ever wanted a getJSON which does a post?
Here it is:
jQuery.extend({
postJSON: function(url, data, callback)
{
$.post(url, data, callback, "json");
}
});