var mxh1 = new Array("mxh","net_lover","孟子E章")
var mxh2 = window.open("about:blank","window_mxh")
// 向对话框传递数组
window.showModalDialog("test2.htm",mxh1)
// 向对话框传递window对象
window.showModalDialog("test3.htm",mxh2)
test2.htm
====================
var a = window.dialogArguments
alert("您传递的参数为:" + a)
test3.htm
====================
var a = window.dialogArguments
alert("您传递的参数为window对象,名称:" + a.name)