首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

window.returnValue跟showModalDialog实现弹出有模式窗体(转)

2012-10-28 
window.returnValue和showModalDialog实现弹出有模式窗体(转)returnValue是javascript中html的window对象

window.returnValue和showModalDialog实现弹出有模式窗体(转)
returnValue是javascript中html的window对象的属性,目的是返回窗口值,当用window.showModalDialog函数打开一个IE的模式窗口(模式窗口知道吧,就是打开后不能操作父窗口,只能等模式窗口关闭时才能操作)时,用于返回窗口的值,下面举个例子:
1.parent.html



2.child.html


热点排行