模态窗口showModalDialog调用与值的返回

?1,调用:
? var Result? = window.showModalDialog(“test.html”,””,”dialogWidth=520px;dialogHeight=400px”);

2,在找开的模态窗口test.html中将值存到returnValue,之后会返回值给Result
?? window.returnValue = “123”;