GET:$.get(..)
GET
$.get(..)
POST:$.post()..
POST
$.post()..
What about PUT/DELETE?
PUT/DELETE
For brevity:
$.delete = function(url, data, callback, type){ if ( $.isFunction(data) ){ type = type || callback, callback = data, data = {} } return $.ajax({ url: url, type: 'DELETE', success: callback, data: data, contentType: type }); }