1.如果让本页转向新的页面则用:
<input type=button onclick="window.location.href('连接')">
2.如果需要打开一个新的页面进行转向,则用:
<input type=button onclick="window.open('连接')">
转载于:https://www.cnblogs.com/FlyCat/archive/2012/05/02/2579977.html
转载于:https://www.cnblogs.com/FlyCat/archive/2012/05/02/2579977.html