日期:2014-05-17  浏览次数:20627 次

form标签提交的弹出页如何固定大小
<form:form modelAttribute="aq00601_02Form" action="xxxx.do" target="_black"  name="myForm" id="myForm">
问题1:请问如何设置弹出页的大小
问题2:如何每次提交都弹出一个新的页面(target="_black")设置错了吗?
------最佳解决方案--------------------
target="_blank"
------其他解决方案--------------------
window.open ('xxxx.do', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')
------其他解决方案--------------------
你可以试试Jquery里面的相关技术,容易而且。很方便的设置具体的大小和位置.
------其他解决方案--------------------
引用:
window.open ('xxxx.do', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')

用window.open可以
------其他解决方案--------------------
问题2  单词拼错了   
------其他解决方案--------------------
引用:
window.open ('xxxx.do', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')


这个我试过了 一下弹出两个页面,
------其他解决方案--------------------
大约 知道怎么弄了 自己 磋磨会
------其他解决方案--------------------
引用:
window.open ('xxxx.do', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')


问下 这种方式提交hidden里的值提交不上去啊 
------其他解决方案--------------------
引用:
引用:window.open ('xxxx.do', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')

问下 这种方式提交hidd……


嗯,是的,这个本质不是form提交,是访问url,你可以把参数拼到url后面xxx.do?aa=123&bb=456这样提交,先用js把hidden中的值取过去,修改url再提交。