`
guanhuaing
  • 浏览: 1199726 次
文章分类
社区版块
存档分类
最新评论

js 跳转方法

 
阅读更多
button按钮的跳转
<button style="width:20px" name="查询统计" onclick="location.href="${ctx}/production/prdMtInvStockAction!invStockCount.action"/>

<button style="width:20px" name="查询统计" onclick="location.href="count()"/>
js脚本
function count() {
window.location.href = "${ctx}/production/prdMtInvStockAction!invStockCount.action?currentPage=" + $("#currentPage").val();
}

开新窗口
<button style="width:20px"
name="查询统计"onclick="window.open('${ctx}/production/prdMtInvStockAction!invStockCount.action','height=500,width=611')" />

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics