var data=$.ajax({type:"POST",async:"false",url:"Admin/AjaxPages/regist.ashx",data:{type:"ncpd",nc:NickName}}).responseText;
有返回值IE下能获到 火狐不行 我就是想直接获到
------解决方案--------------------
var data=$.ajax({type:"POST",async:"false",url:"Admin/AjaxPages/regist.ashx",data:{type:"ncpd",nc:NickName},error:function(){alert("失败了")}}).responseText;
------解决方案--------------------
- JScript code
var global_hello = ''; $.ajax( {type:"POST", async:"true",//写成异步的 url:"Admin/AjaxPages/regist.ashx", data:{type:"ncpd",nc:NickName} success:function(data) { global_hello = data; } })
------解决方案--------------------
------解决方案--------------------