我已经设了target=_self(具体写法忘了),在我本机上运行时是没有弹出新窗口,可是别的机器访问时,当相应一个按钮事件重新载入页面时,就会有新窗口弹出?
请各位帮忙,
谢谢!!

解决方案 »

  1.   

    如果在别的机器能正常运行程序,那可能是你的机器上ie禁用掉脚本,或装了类似3721,google bar之类的插件把弹出窗口拦截掉了
      

  2.   

    我是想编程实现让modaldialog相应所有事件后不弹出新窗口
    谢谢
      

  3.   

    你再用个frame,作为中间层.把那个要打开的Modaldialog嵌在里面就可以了.
    打开的是那个frame所在的网页.
      

  4.   

    参考--How can use window.showModalDialog to open a .aspx page pop up window:
    http://www.cnblogs.com/fengzhimei/archive/2004/05/20/10528.aspx
      

  5.   

    <base target='_self'>加在<header></header>里面就可以了