摘要:
首先我承认,WebService技术早就不是新鲜玩意了,下面只是对整个过程的代码总结。前台选择jQuery发送ajax请求,代码如下:1 $.ajax({ type: "post", url: "Service.asmx/HelloWorld",2 contentType: "application/json;charset=utf-8",3 dataType: "json",4 success: function (msg) {5 alert(msg.d);6 } 7 });参数中,type必须是post类型,c 阅读全文
posted @ 2011-03-15 17:42
元某人
阅读(969)
评论(0)
推荐(0)
浙公网安备 33010602011771号