您的位置:首页 > 其它

点击按钮打开多个窗口

2016-07-10 22:02 190 查看
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>点击按钮打开多个窗口</title>
</head>
<body>
<input type="button"  value="Click" onclick="Openurls()"/>
<script>
function Openurls(){
window.open("http://www.baidu.com/");
window.open("http://www.QQ.com/");
}
</script>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: