如何在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")' 求助,点击图片,使用ajax异步加载对应的视频 js中怎么选择网页上的内容并保持格式复制到邮件中 郁闷中~~ 日期格式化 天气预报在IE下提示脚本错误,FF正常!! 鼠标上下移动控制页面上下移动的方法 求助,关于event 怎样设置IE的“Internet选项”中的”安全“选项卡中的自定义级别中的activeX属性 如何得到INPUT 的输入值? (在history.back() 后) js向jsp传值问题 一个框架网页,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传递的参数),可以用楼上的方法。