js使用window.open用select打开新页面
来源:互联网 发布:淘宝女装批发货源 编辑:程序博客网 时间:2024/06/07 03:57
文件名:使用window.open用select打开新页面.html
文件代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>使用window.open打开新页面</title>
<script language= "JavaScript">
function fun(thisurl){
alert("通过this.value就可以去到Select的值 = "+thisurl);
window.open(thisurl,"页面标题","width=470,hight=15,scrollbar=yes,resizable=no");
}
</script>
</head>
<body>
<form action="" method="post" name="myform">
网址:<SELECT name="url" onChange="fun(this.value)">
<option value ="script_eventform_01.html">EVENT-01</option>
<option value ="script_eventform_02.html">EVENT-02</option>
<option value ="script_eventform_03.html">EVENT-03</option>
</SELECT>
</form>
</body>
</html>
文件名:script_eventform_03.html
文件代码:
哈哈哈哈哈哈哈哈哈
- js使用window.open用select打开新页面
- js使用window.open打开新页面
- js 打开一个新页面 window.open()
- window.open 打开新页面
- 在js 中window.open()打开新页面,post方式传递参数到新页面上
- 使用js打开新页面
- JS中用window.open()方式打开,使新页面全屏、居中的代码
- js 打开新页面
- js打开新页面
- js打开新页面
- JS 用window.open()函数,打开的新页面回调父级页面的函数
- js 用 window.open()方法跳转到新页面并且用post方式传参
- 用js在新页面打开
- 使用window.showDialog打开新页面后滚动条设置
- 控制window.open新页面内容
- 关于window.open()打开新页面会弹出Object页面的几点说明
- 解决模式对话框和window.open打开新页面Session会丢失问题
- window.open打开新页面,父页面无提示自动关闭
- 常用的获取时间差的sql语句
- 非常详细的详谈struct sk_buff
- C++之STL概述
- 多线程编程艺术(5)-ThreadLocal的使用
- uva 699 The Falling Leaves
- js使用window.open用select打开新页面
- IntelliJ IDEA 代码检查规范QAPlug
- 存储过程笔记
- 用svg做一个篮球场然后分成一块一块
- 单调递增最长子序列
- ADB小知识备忘
- 千万级数据库(MSSQL)删除重复记录
- 微信 (登录、支付)不能调起微信
- jQ源码之each