[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-23 Thread linuja
> *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Brandon Aaron > *Sent:* Saturday, September 22, 2007 10:07 AM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug) > > Thanks

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Michael Geary
}); That will pass pure HTML text to addData()'s append() call instead of a cloned node. -Mike _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Saturday, September 22, 2007 10:07 AM To: jquery-en@googlegroups.com Subject: [jQuery

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Brandon Aaron
Thanks for clearing that up Michael! :) -- Brandon Aaron On 9/22/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > Just to clarify, code inside an iframe from the same domain as its parent > *can* manipulate the DOM in the parent, and vice versa. > > What you can't do is move or copy DOM nodes be

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Michael Geary
Just to clarify, code inside an iframe from the same domain as its parent *can* manipulate the DOM in the parent, and vice versa. What you can't do is move or copy DOM nodes between them. But innerHTML would work fine - you could get the innerHTML of the elements in the frame and then set the i

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Brandon Aaron
This is a security limitation in IE and I believe Firefox 3 will have it as well. -- Brandon Aaron On 9/21/07, linuja <[EMAIL PROTECTED]> wrote: > > copy the data in iframe to its parent. It works fine in firefox and opera, > bug it can't in ie(both ie6 and ie7). > > here is the test case. > > th