parent.jsp:
js 代码
- window.showModalDialog('child.jsp',window,'dialogWidth:640px;dialogHeight:520px;status:no;help:no');
child.jsp:
js 代码
- <script type="text/javascript">
- var w;
- if (window.dialogArguments != null)
- w = window.dialogArguments;
- function sendRequest(){
- w.location.href="/grant.do?method=advancedQuery";
- }
- </script>