http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=2014
解决方案 »
- html 提交表单问题,求高手指点。。
- CNLTreeMenu 代码分析
- 新手求教$("#play").css("overflow","hidden");啥意思
- this.value=this.value.replace(/[^\C\K\-?0-9\.]/g,'');
- 层的显示与隐藏不成功
- 请帮我完成javascript的作业啊,多谢各位啦。
- 【【如何取得checkbox的lable标签值???】】
- |zyciis| 如何在Jquery Ajax中的ajaxStart取得当前Ajax提交的url 谢谢
- 怎样做一个可在指定范围内拖动、可任意改变大小的div?
- 如何得到本页中的所有表单对象?
- 网页上的图片,当把鼠标移上去后,会出现一排按纽:打印,保存,什么的
- 请问,在JS中能对JS进行调用吗?如果可以,怎么调用?谢谢。
<form target=meizz>在父网页里(建立一个隐藏的浮动帧):
<iframe name=meizz width=0 height=0 frameborder=0 style="display: none"></iframe>这样在showModalDialog里提交就不会出现新的网页了。
按emu(ston)的方法,window.showModalDialog(...)会打开一个很小的窗口,而且窗口没有jsp产生出来的东西。
按meizz(梅花雨) 的方法,点提交会没有反应。
window.showModalDialog("tmp_hm.jsp?hmt="+hmt+"&t1="+t1+"&t2="+t2+"&t3="+t3+"&t4="+t4,"poplist","center:yes;help:no;dialogWidth=1024px;dialogHeight=768px;status:no");
然后在tmp_hm.jsp中:
<%
String hmt=request.getParameter("hmt");
String t1=request.getParameter("t1");
String t2=request.getParameter("t2");
String t3=request.getParameter("t3");
String t4=request.getParameter("t4");
%>
<frameset rows= "0,*">
<frame sre="about:blank">
<frame src="hm.jsp?hmt=<%=hmt%>&t1=<%=t1%>&t2=<%=t2%>&t3=<%=t3%>&t4=<%=t4%>">
</frameset>
在hm.jsp中:
<form name="form1" method="post" action="" target="_self">
我将大小设为1024*768,但是窗口很小,怎么回事,以前大小是正确的啊。
====================
<html>
<frameset rows= "0,* " >
<frame src= "about:blank " >
<frame src= "xxx.asp " >
</frameset >
</html>