1.当前页面进行跳转
<input type='button' onclick="window.location='url';">
2.点击打开新窗口
<input type="button" onclick="window.open('url','_blank')"/>
onclick如何跳转到其他页面,Javascript跳转页面和打开新窗口等方法
1.当前页面进行跳转
<input type='button' onclick="window.location='url';">
2.点击打开新窗口
<input type="button" onclick="window.open('url','_blank')"/>