ie浏览器下执行jquery post方法,回调函数中跳转页面不成功,试了好几种方法都不行!
贴出代码,求救!$.post("../site/updateReply.action",{repid:repid,//答复idcontent:content,//追问内容...
贴出代码,求救!
$.post("../site/updateReply.action",{
repid:repid,//答复id
content:content,//追问内容
quesid:quesid//问题id
},function(question){
//window.location.href="../site/que_rep_"+question.tbid+"_"+question.isreply+".html";
//document.location.replace("../site/que_rep_"+question.tbid+"_"+question.isreply+".html");
window.setTimeout(function(){ location.href="../site/que_rep_"+question.tbid+"_"+question.isreply+".html";}, 100);
}); 展开
$.post("../site/updateReply.action",{
repid:repid,//答复id
content:content,//追问内容
quesid:quesid//问题id
},function(question){
//window.location.href="../site/que_rep_"+question.tbid+"_"+question.isreply+".html";
//document.location.replace("../site/que_rep_"+question.tbid+"_"+question.isreply+".html");
window.setTimeout(function(){ location.href="../site/que_rep_"+question.tbid+"_"+question.isreply+".html";}, 100);
}); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |