当我单击button1
它应该在Internet Explorer的新窗口中打开URL。
<a href="my_uri" target="_blank">
尽管这不能保证有一个新窗口,但是某些浏览器更喜欢在新选项卡中打开它。
<input type="Button" value="Click me!" onclick='window.open("mypage.html", "refname", "resizable=yes,scrollbars=yes,status=yes");' />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.