dialogArguments--------------------------------------------------------------------------------DescriptionReturns the variable or array of variables passed into the modal dialog window. Syntax object.dialogArgumentsResThis property applies only to windows created using the showModalDialog method. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies Towindow
<form name=form01>
<input name=x value=''>
</form>
<input id=y value=''>
<script>
var v = window.showModalDialog("2.htm");
document.form01.x.value = v;
</script> 2.htm内容是
<script>
function back()
{
window.returnValue="666";
window.close()
}
</script>
<input value="返回" type=button onclick="back()">
但我不明白dialogArguments是怎么用的,在一些在线编辑器里都是这么用,请教
object.dialogArgumentsResThis property applies only to windows created using the showModalDialog method. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies Towindow