窗口弹出问题 onclick="openw(par)"function openw(e){var par=e;window.open('xx.htm?aa='+par,'scrollbars=yes,width='+x+',height='+y+')} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 sorry 改一些onclick="openw(par)"function openw(e){var par=e;window.open('xx.htm?aa='+par,'scrollbars=yes,width='+x+',height='+y)} 我够笨,怎么用呀?:(我的代码<form name=listaa method=post action="look.php"><input type=text name=tt value=""><input type=submit name=submit value="提交"></form> <html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#FFFFFF" text="#000000"><script language="javascript">function windowopen(){document.all.form1.submit;newwindow=window.open("","target","scrollbars")if (document.all){newwindow.moveTo(0,0)newwindow.resizeTo((screen.width-300),(screen.height-300))}}</script><form name="form1" method="post" action='look.php' onsubmit='windowopen()' target=target><input type="text" name="aa"><input type='submit'></form></body></html> 求网页选项卡源代码。 如何将函数的参数直接作为js执行(参数就是js代码) 这个正则表达式为什么不行哦? 急急急,很急啊,对象问题啊? 梅花雪树, 左边显示树结构右边显示内容 如何使用 JS 控制 flash 从指定位置进播放. 添加一个结点后如何增加它的事件处理函数? 百思不得其解的一段javascript程序段 一个简单问题,各位给我看看。。。。 在网页中如何调用外部应用程序???急!!! 谁有将数字转化为大写形式人民币的javascript(yangtian) 大家在进行客户端的WEB开发时都用到了哪些技术? JS ,HTC,XML 还有什么?
onclick="openw(par)"
function openw(e)
{
var par=e;
window.open('xx.htm?aa='+par,'scrollbars=yes,width='+x+',height='+y)
}
我的代码
<form name=listaa method=post action="look.php">
<input type=text name=tt value="">
<input type=submit name=submit value="提交">
</form>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<script language="javascript">
function windowopen(){
document.all.form1.submit;
newwindow=window.open("","target","scrollbars")
if (document.all){
newwindow.moveTo(0,0)
newwindow.resizeTo((screen.width-300),(screen.height-300))
}
}
</script>
<form name="form1" method="post" action='look.php' onsubmit='windowopen()'
target=target>
<input type="text" name="aa">
<input type='submit'>
</form>
</body>
</html>