Yeah, and in fact, this will break in Firefox 3, since you can no
longer use foreign elements in a document, it has to adopt them first.
So it's good that we'd be fixing this now :-)
--John
On 7/23/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
var b = $("hi:first", xml);
var node = $("xxx");
node
var b = $("hi:first", xml);
var node = $("xxx");
node.appendTo(b);
Looking at the code above I would assume the problem is that we are
creating "node" using the current document and then trying to append
that node to an element in a different document. This, of course,
won't work.
Mike
On
Yeah, it does seem like there's something tricky at play here, I've
created a ticket to track this:
http://dev.jquery.com/ticket/1419
I'll see if I can get a fix for this in for 1.1.4.
--John
On 7/23/07, Andy Martone <[EMAIL PROTECTED]> wrote:
I'm having a similar problem in IE. However, my
I'm having a similar problem in IE. However, my code looks like this
(using your syntax for creating the XML document):
var hiNode = $("hi", xml);
hiNode.text("foo");
When I run this in Firefox, the hi node in the XML document gets a
text node with a value of "foo" appended to it. However, I g
4 matches
Mail list logo