window.open("company/company.jsp","","");
打开一个新窗口 做新增 新增成功后 主窗口没有刷新 但是走debug 却可以刷新 如何解决form_C_Coupon.action = '../xx.do?action=insertxx
form_C_Coupon.submit();
var url = '../xx.do?action=searchxx;
window.parent.close();
window.opener.location= url;
走了debug做了查询 我以为是还没有执行到window.opener.location= url;
于是我用了 window.setTimeOut(window.opener.location= url,3000)方法 但是还是不行不知道有没有人和我一样的情况
打开一个新窗口 做新增 新增成功后 主窗口没有刷新 但是走debug 却可以刷新 如何解决form_C_Coupon.action = '../xx.do?action=insertxx
form_C_Coupon.submit();
var url = '../xx.do?action=searchxx;
window.parent.close();
window.opener.location= url;
走了debug做了查询 我以为是还没有执行到window.opener.location= url;
于是我用了 window.setTimeOut(window.opener.location= url,3000)方法 但是还是不行不知道有没有人和我一样的情况
解决方案 »
- 【求助】如何在JSP页面使用Input和Select控件的结合体
- tomcat_ XML validation disabled
- 初学者的问题!
- 如何用javascript实现两行一列布局, 要求首行高度=body高度 - 第二行高度, 第二行固定高度居底部__求高手做简单网站,酬劳+永久域名+hosting谢谢
- 新手,有关struts中登陆成功或失败跳转问题
- 原来在weblogic中的配置,现在改为tomcat,如何做相应的修改
- ServletEx2 1.0 Java WEB 应用开发框架 完整版 (release, source, document, example 2010-01-1
- 求一北京的jsp高手,帮助完成课程设计,有偿
- tomcat http status 500错误
- SSH里怎查询两个表得数据显示在jsp里呢?
- 会Oracle的朋友进来下,问个问题~
- dom4j解析xml问题
form_C_Coupon.submit();
window.top.close();然后在action类中的insertxx方法
中response.sendRedirect("../xx.do?action=searchxx");