Ajax Dot Net

联合创作 · 2023-10-02 15:03

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.

浏览 10
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报