如何在报表增加页面跳转时在 toolbar.jsp 中加入俩段代码,
在 toolbar.jsp 中加入俩段代码
<li><input type="text" id="jumpPage" style="width:24px;margin-top: 4px;"/></li>
<li><a class="ICOhover" href=" " onClick="try{jumpPage('report1');}catch(e){alert(e)}return false;"><span class="pageIcon" title='跳转' >Go</span></a ></li>
<script type="text/javascript">
function jumpPage(reportName){
var pno = document.getElementByld("jumpPage"").value;
if(pno != null && pno != ""){
jumpToPage( reportName, pno );
}
}
</script>