点击按钮页面跳转
2011-04-27 11:30
323 查看
在html页面中 实现点击按钮页面跳转。语句如下:
<input type="button" value="跳转" onClick="window.location.reload('product.asp');">
点击“跳转”按钮时 便跳到product.asp页面.
注:input里的类型"type"必须等于"button",如果是type="submit",此js不起作用(当然也可以编写脚本使之实现在这我就不做说明了!)。
<div class="fast_nr1" style="margin-right:5px; "><input name="" type="image" src="images/ann1.gif" align="absmiddle" onclick="javascript:window.open('jy-products.jsp');" target="_self" /></div>
开启新页
<input type="button" value="跳转" onClick="window.location.reload('product.asp');">
点击“跳转”按钮时 便跳到product.asp页面.
注:input里的类型"type"必须等于"button",如果是type="submit",此js不起作用(当然也可以编写脚本使之实现在这我就不做说明了!)。
<div class="fast_nr1" style="margin-right:5px; "><input name="" type="image" src="images/ann1.gif" align="absmiddle" onclick="javascript:window.open('jy-products.jsp');" target="_self" /></div>
开启新页
相关文章推荐
- 不用form实现点击按钮后跳转页面
- OAF学习笔记-5-点击按钮页面跳转
- FrameLayout+RadioGroup、RadioButton 点击按钮跳转页面
- js点击button按钮跳转到另一个新页面
- 在项目中,点击“删除”按钮后,跳转到哪个页面?又该如何设置?
- PHP——0128练习相关2——js点击button按钮跳转到另一个新页面
- OAF学习笔记-5-点击按钮页面跳转
- layer弹出层的内容页点击按钮跳转到新的页面问题
- html点击按钮 重新加载页面或者跳转页面实现
- 微信小程序(2) 按钮点击跳转页面
- android重写webview长按时选择文字然后点击搜索按钮的事件,默认是chrome接受点击事件,现在跳转到360搜索页面
- iOS 点击一个页面上的按钮跳转到tabBar的另一个页面
- js点击button按钮跳转到页面代码
- OAF学习笔记-5-点击按钮页面跳转
- 问题:asp.net 点击button按钮调到页面顶部;结果:asp.net点击一个按钮,使页面跳转到本面页上的指定位置
- js点击button按钮跳转到页面代码
- 点击一个按钮,弹出框出现几秒钟之后,跳转到另一个页面
- 图片轮播》结束跳出按钮》点击跳转页面
- 点击按钮或链接时不跳转只刷新页面
- OAF学习笔记-5-点击按钮页面跳转