在页面上使用window.showModalDialog时,在弹出的窗口中使用dtree展示树。但是在ie6下点击加有事件的节点时,页面报错。通过查找发现原来的js方法被解析成路径,ie6下进行了跳转,所以出错。解决方案,在弹出的页面的<title></title>下添加 <base target="_self" />问题解决。
dtree在ie6下点击页面报错
最新推荐文章于 2024-05-23 12:27:27 发布

在页面上使用window.showModalDialog时,在弹出的窗口中使用dtree展示树。但是在ie6下点击加有事件的节点时,页面报错。通过查找发现原来的js方法被解析成路径,ie6下进行了跳转,所以出错。解决方案,在弹出的页面的<title></title>下添加 <base target="_self" />问题解决。