如果有一个页面是用window.showModalDialog打开的,例如 args = new Array(); args[0] = 1; args[1] = 2; window.showModalDialog('dialog.jsp',args); 在被调用的页面中 如果用javascript的window.dialogArguments是可以接收到参数的 返回值:
window.returnValue = "abc";