按钮代码怎么新窗口???

来源:百度知道 编辑:UC知道 时间:2024/05/05 10:25:26
<div id=right1><div class=title1><img src="/templets/images/game_page_h.gif" border="0" align="absbottom" class=img_h>领取号码</div>
<div style="padding-top:20px; height:60px;" align="center">
<span id="checkInfo">

<input type="button" name="Submit" value=" 我要领取 " onClick="document.location='http://wpa.qq.com/msgrd?V=1&Uin=63909150'" style="width:100px; height:45px;" class="btnblue">
</span></div>

这个代码是我找到的,但一点击我要领取就打开了,怎么样才能以新窗口的形式打开呢?

<div id=right1><div class=title1><img src="/templets/images/game_page_h.gif" border="0" align="absbottom" class=img_h>领取号码</div>
<div style="padding-top:20px; height:60px;" align="center">
<span id="checkInfo">

<input type="button" name="Submit" value=" 我要领取 " onClick="window.open('http://wpa.qq.com/msgrd?V=1&Uin=63909150','')"
style="width:100px; height:45px;" class="btnblue">
</span></div>

也许是你浏览器的问题 你换个浏览器试下