用jquery form.serilize post 到acition 函数后 页面跳转失效

浏览:1053 发布日期:2013/07/22 分类:求助交流
如果用最简单的form 提交
<form name="testform" id="testform" action="!-APP-!/Solve/SolveEditSolution/Solve">
<input type=submit id=submit name=submit>
</form>
在Solve 函数里面就能用下面两个方式跳转首页
// redirect('/index.php/Home/Home/index'); //work for the ordinary button

//$this->assign("jumpUrl","!-APP-!/Home/Home/index"); //works for ordinary form submission
//$this->success("Solution Successfully saved!");

但是换用以下jquery 提交到同个函数后就无法跳转。success 方法似乎没有正常调用。
postTo($("#three_btn_form").serialize(), '!-APP-!/Solve/SolveEditSolution/Solve');

求助 多谢
不知道是有兼容性问题么还是我们系统配置有问题
最佳答案
评论( 相关
后面还有条评论,点击查看>>