打开一个页面后,父页面DISABLE,在子页面关闭后,父页面ENABLE

function onNewClick()

{
   
    var url = "VesselScheduleNEW.aspx";
   
    if (null!=newWin && newWin.closed) newWin=null;   
   
    if (null==newWin)     newWin=window.showModalDialog(url,"newwin","dialogWidth=1000px;dialogHeight=400px;help:no;center:yes;resizable:no;status:no;scroll:no");   
   
    if(newWin == "OK")
    {
        window.location.reload();
    }

}
posted @ 2007-07-10 18:35  疯吻IT  阅读(463)  评论(0)    收藏  举报