如何利用button实现链接功能

来源:互联网 发布:制作荣誉证书图片软件 编辑:程序博客网 时间:2024/06/06 03:55

<input type=button width="150" value="点击" onclick="window.location.href('right_list.html')">

这样就可以通过点击button直接跳转页面,省略了onclick事件;

原创粉丝点击