摘要: 项目中关于ajax jsonp的使用,出现了问题:可以成功获得请求结果,但没有执行success方法总算搞定了,记录一下function TestAjax(){ $.ajax({ type : "get", async : false, url : "ajaxHandler.ashx", //实际上访问时产生的地址为: ajax.ashx?callbackfun=jsonpCallback&id=10 data : {id : 10}, cache : false, //默认值true dataType : "jsonp", 阅读全文
posted @ 2012-12-25 19:59 南极山 阅读(29755) 评论(0) 推荐(3) 编辑