• importNode is not supported by IE.

    作者:  • 2006 年 5 月 18 日 • 技术主义 • 暂无评论

    sad news.
    importNode is a method introduced in the W3C DOM Level 2 but it is not supported in IE for HTML documents. With IE you are left to moving/copying HTML markup e.g,

    elementInOnFrame.insertAdjacentHTML(
    ‘beforeEnd’,
    elementInOtherFrame.outerHTML);

    Not by IE, you need cloneNode. Nodes cannot be transferred between windowed controls such as select and iframes.(I vaguely remember reading that iframe was no longer going to be windowed in IE 6 but not sure if it is or not). I know you’ve been having problems with copying nodes between frames. I’ll do a little testing and report back. :evil:

    相关文章:

    关于

    生于古城長安,求學金陵,輾轉赴美深造,現漂泊於長安與北京。

    http://www.yenching.org