页面数据以弹出框的形式提交到另一个action中
2017-10-19 14:07
239 查看
通过post提交的方式将页面中的数据提交到另一个action中
with(document.actionForm) {
window.open("","newBlank","width=450,height=350,scrollbars=yes,resizable=yes,left="+(window.screen.width-450)/2+",top="+(window.screen.height-350)/2+'"');
action = "aAction.do";
target = "newBlank";
submit();
target = "_self";
action = "bAction.do";
}
with(document.actionForm) {
window.open("","newBlank","width=450,height=350,scrollbars=yes,resizable=yes,left="+(window.screen.width-450)/2+",top="+(window.screen.height-350)/2+'"');
action = "aAction.do";
target = "newBlank";
submit();
target = "_self";
action = "bAction.do";
}
相关文章推荐
- Struts2(二)---将页面表单中的数据提交给Action
- 关于php中数据提交到当前页面action的问题
- Action如何接收jsp页面form表单提交的数据?
- 关于如何将action中的信息已弹框的形式在jsp页面弹出
- javascript实现一个html提交的表单数据放到另一个html页面显示
- Struts2框架action传入页面list对象集合,修改对象集合数据后提交给action
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- Struts2(二)---将页面表单中的数据提交给Action
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- JSP 页面保存或者提交数据时,弹出浮层防止用户在保存过程中进行其他操作
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- Struts2(二)---将页面表单中的数据提交给Action
- ajax提交数据后Action中的程序未执行完毕,页面却已经显示响应结果error
- 弹出新窗口,填写数据,提交后,关闭该弹出窗口,刷新父页面
- Struts2(二)---将页面表单中的数据提交给Action
- 关于showmodaldialog 打开新窗口后提交表单操作时,避免弹出新窗口和避免从后台获取“新数据”后不能刷新当前模态页面的解决方案
- window.open打开子页面,并选择回填的数据到父页面,替换了div弹出层的形式
- extjs 中formPanel提交到action后返回json数据到ext中,但是ext页面不进入sucess也不进入failure