Ajax Dot Net

Ajax Dot Net
 点击下载

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:

  1. $.ajaxDotNet('WebService.asmx/Method', { 
  2. verb: 'POST'
  3. data: {id: 1}, 
  4. success: function(obj) { 
  5. //Do Success 
  6. }, 
  7. other: function() { 
  8. //Do Everything else 
  9. }); 

Script includes intellisense support and examples for ASP.NET 2.0 and 3.5.

 

转载请注明:代码家园 » Ajax Dot Net

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)