点击按钮后实现页面跳转

<button onclick="location.href='http://www.baidu.com';">点我跳转</button>

原文地址:https://www.cnblogs.com/shenxianjushi/p/3700088.html