html网页中 点击按钮页面跳转

在html页面中 实现点击按钮页面跳转。语句如下:

<input type="button" value="跳转" onClick="window.location.reload('学生报名注册.htm');">

点击“跳转”按钮时 便跳到学生报名注册页面.

注:input里的类型"type"必须等于"button",如果是type="submit",此js不起作用。

posted @ 2015-10-27 16:30  星辰之力  阅读(5779)  评论(0编辑  收藏  举报