笔记:2015-04-11 openWindow('openorcloses.action?onoff='+states+'&refundIds='+refundIds,'12');
document.getElementById("toMerChannel").action="openorcloses.action?onoff="+states; document.getElementById("toMerChannel").submit(); 提交时,都要把要的传值放到后面提交了。
//导出excel
function toExcel() { var USERNAME = $("#nav-search-input").val(); var lastLoginStart = $("#lastLoginStart").val(); var lastLoginEnd = $("#lastLoginEnd").val(); var ROLE_ID = $("#role_id").val(); window.location.href = '<%=basePath%>user/excel.do?USERNAME=' + USERNAME + '&lastLoginStart=' + lastLoginStart + '&lastLoginEnd=' + lastLoginEnd + '&ROLE_ID=' + ROLE_ID; } |
|