我正在尝试使用jQuery调用PageMethod,如下所示:public stataic string WebMethod(PostData data) //DO WORK}public class PostData public string Guid{get;set;} public string Id{get;set;}我从jQuery中调用方法,如下所示:
我正在设置PageMethods以使用javascript访问服务器端代码。当我使用firebug进行调试时,我收到错误消息"PageMethods is not defined“。my method} function editNodes(t) { alert(t);
PageMethods.AddNote