Provides a function which allows GET and POST requests to ASP.NET Ajax enabled PageMethods and Web Services. The function only supports JSON requests and requires JSON2.js from json.org
.
Usage Example:
$.ajaxDotNet('WebService.asmx/Method', { verb: 'POST', data: {id: 1}, success: function(obj) { //Do Success }, other: function() { //Do Everything else } });
Script includes intellisense support and examples for ASP.NET 2.0 and 3.5.