【表单递交】-如何控制打开窗体的大小 先用 window.open(winName,url) 设定窗口,然后<form action="abc.php" target="winName"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title><script language="JavaScript" type="text/JavaScript">function star(i) { window.open("","winName","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=100,left=120,width=412,height=260");}</script></head><body><form name="form1" method="post" action="abc.htm" target="winName" onSubmit="star()"> <input type="submit" name="Submit" value="提交"></form></body></html> <form action=action.asp target=newwin onsubmit=window.open("","newwin","width=100,height=100")></form> html or js or ajax or php 实现 如何理解方法中的this? JS代码冲突,求高手帮忙 js如何做地理位置分布情况统计? 一个怪怪的问题,大家帮我看看 ajax相关 document.body.innerHTML;为什么不能取整个页面的全部内容? 请问关于document.all的问题~` 什么叫构造对象? 小妹有些事请教:如何用vs.net写带有javascript(Jscript)脚本的网页,然后预览该页面阿 jquery如何获取iframe里面的元素 关于javascript执行权限的问题 关于滚动文本的问题
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript" type="text/JavaScript">
function star(i) {
window.open("","winName","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=100,left=120,width=412,height=260");
}
</script>
</head><body>
<form name="form1" method="post" action="abc.htm" target="winName" onSubmit="star()">
<input type="submit" name="Submit" value="提交">
</form>
</body>
</html>
</form>