ajax调用后台方法 1.aspx.cs页面添加引用:using System.Web.Services;2.将.aspx.cs中的方法添加属性 [WebMethod]3.在js页面中调用页面url/方法名PS:方法可以传参数:使用json格式http://www.cnblogs.com/XuebinDing/archive/2012/03/01/2376041.html ajax 2023-09-15 31 点赞 0 评论 46 浏览