importNode is not supported by IE.

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:

Share with:

  • email
  • LinkedIn
  • Twitter
  • Facebook
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • 豆瓣

Related posts: