如何在submit后弹出一个指定大小的窗口 <form id="form1" onsubmit=return aa()……<script>aa(){……form1.submit();window.open("","","width=200,height=200")}</script> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 michael_monkey(从头再来) 不行啊,submit的值没有过去啊.form.action=????;这里总要告诉程序提交到哪里去吧 <form id="form1" onsubmit=return aa()……<script>aa(){……window.open("","","width=200,height=200")form1.submit();}</script> wndmsgnew = window.open("","winname","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=150,top=20,width=600,height=670"); document.frmHidden.target = winname"; document.frmHidden.action = "./MsgSend.asp"; document.frmHidden.submit(); wndmsgnew.focus(); 和form无关.<input type=button onclick="openwin('100')"><script>openwin(a){window.open("制定页面.jsp?a="+a,"","width=制定宽度,height=制定高度");window.close();}</script> 这样:<form action=new.asp target=spwin name=fn><input type=button onclick=window.open('','spwin','width=100,height=100');fn.submit()></form>这个可以处理POST的数据,如果是GET的数据(用URL传递的参数),可以用楼上的方法。 onsubmit='window.open("","","width=300,height=300")' 请问在栈或堆中,怎么存储函数 判断浏览器后载入.js文件 关于JQuery中的 $.event.special 问题?? 错在哪里了,cookie写不进去 请教,ext怎么样给一个在handler中的store赋值? 问个showmodal的问题,超难 动态调用JS,显示中文为乱码,如何解决 IE下DOM扩展,如何做。 怎么去控制播放器的开始时间和结束时间? iframe的传参数问题,急!! 一个框架网页,top上有前进、后退、刷新、打印等,怎样加上超连接后,主框架网页执行相应的操作 怎么调用.htm文件???
aa(){
……
window.open("","","width=200,height=200")
form1.submit();
}
</script>
document.frmHidden.target = winname";
document.frmHidden.action = "./MsgSend.asp";
document.frmHidden.submit();
wndmsgnew.focus();
openwin(a){
window.open("制定页面.jsp?a="+a,"","width=制定宽度,height=制定高度");
window.close();
}
</script>
<form action=new.asp target=spwin name=fn>
<input type=button onclick=window.open('','spwin','width=100,height=100');fn.submit()>
</form>
这个可以处理POST的数据,如果是GET的数据(用URL传递的参数),可以用楼上的方法。