function submitSearch() { if(validatePSInputFields()) { reportsPSForm.generateButton.disabled=true; <% PortletURL reportsPSURL=renderResponse.createActionURL(); reportsPSURL.setParameter("ACT","reportsPS"); %> document.reportsPSForm.action="<%=reportsPSURL.toString()%>"; document.reportsPSForm.submit(); /* if(navigator.appName=='Microsoft Internet Explorer'){ PaySlipReport = window.open('<%=reportsPSURL.toString()%>','PaySlipReport','WIDTH=800,HEIGHT=500,scrollbars=yes,resizable=yes'); } else{ PaySlipReport = window.open('<%=reportsPSURL.toString()%>','PaySlipReport','WIDTH=800,HEIGHT=500,scrollbars=yes,resizable=yes'); }PaySlipReport.moveTo(40,40);*/ // document.reportsPSForm.submit(); } }
<%= %>
<% %>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)