button按钮的跳转
<button style="width:20px" name="查询统计" onclick="location.href="${ctx}/production/prdMtInvStockAction!invStockCount.action"/>
<button
style="width:20px" name="查询统计" onclick="location.href="count()"/>
style="width:20px" name="查询统计" onclick="location.href="count()"/>
js脚本
function
count() {
window.location.href = "${ctx}/production/prdMtInvStockAction!invStockCount.action?currentPage=" + $("#currentPage").val();
}
count() {
window.location.href = "${ctx}/production/prdMtInvStockAction!invStockCount.action?currentPage=" + $("#currentPage").val();
}
开新窗口
<button
style="width:20px"
style="width:20px"
name="查询统计" onclick="window.open('${ctx}/production/prdMtInvStockAction!invStockCount.action','height=500,width=611')" />