js调用webservice
请教js如何调用webservice不用ScriptManager;
兼容谷歌浏览器 js .net webservice 谷歌 --------------------编程问答--------------------
--------------------编程问答--------------------
$.ajax({
type: "POST",
contentType: "application/json",
url: "/WebService/LoginService.asmx/GetCount",
data: "{id:'" + id + "'}",
dataType: 'json',
success: function (result) {
}
});
这段代码要怎么用?引用什么文件
--------------------编程问答-------------------- 参考http://www.cnblogs.com/aierong/archive/2012/10/13/jqueryDataSetDataTablewebServicejsonajaxxml.html --------------------编程问答-------------------- http://www.cnblogs.com/tianguook/archive/2010/09/30/1839590.html --------------------编程问答--------------------
用ScriptManager运行出现
Sys.WebForms.PageRequestManager 找不到Sys 怎么解决 --------------------编程问答--------------------
补充:.NET技术 , ASP.NET