摘要: 使用ashx作为服务;客户端通过ajax传输数据到ashx服务,直接上代码。前端调用(使用jquery1.4.1版本,jquery1.9.1不支持这种写法): $.post("Handler/BasicService.ashx", { method: 'Login', 'username': escape($('#txtUserCode').val()), 'password': escape($('#txtPassword').val())) }, function (msg) { if (m 阅读全文
posted @ 2013-04-18 11:14 逐鹿天下 阅读(485) 评论(0) 推荐(1) 编辑