html设置一个按钮,按按钮弹出新的网页 怎么??

来源:百度知道 编辑:UC知道 时间:2024/09/25 15:24:06
html设置一个按钮,按按钮弹出新的网页 怎么??
要怎么做呢
<input type="button" value="ログイン" onclick="buttonTest1();">
然后怎么实现呢
————————————————————————
弹出的新网页不是空的 比如在上面一行字
那要添加在纳呢??

<input type="button" value="new page" onclick="window.open('webform1.aspx','_blank')">
这样可以了

  使用<input type="button" value="new page" onclick="window.open('webform1.aspx','_blank')"> 调用onclick 事件。

  onclick 属性由元素上的鼠标点击触发。
  注释:onclick 属性不适用以下元素:<base>、<bdo>、<br>、<head>、<html>、<iframe>、<meta>、<param>、<script>、<style> 或 <title>。

加按钮然后给他加上连接就O了

事件处理程序里,用Response.Redirect("ulr");

我回答错误,上面的回答都正确