You say that you still have problems if you split apart the query.

So in this case $button.append( "[" ) fails - correct?

What happens if you do:

$button.append( document.createTextNode("[") )

--John



On Mon, Jun 22, 2009 at 2:09 PM, Daniel
Friesen<nadir.seen.f...@gmail.com> wrote:
>
> I've been having trouble with a bit of jQuery that works in FF, Opera,
> and Midori, but breaks in IE.
>
> See http://animanga.wikia.com/wiki/Sandbox?allinone=0
> The code: http://dev.wikia.com/wiki/ShowHide/code.js
> (it's on a wiki, so you can see the history of editing)
>
> Using IE8's debugger tools (yay, finally MS rips of Firebug to give us a
> way to find out why IE is breaking /sarcasm) I've narrowed it down to
> $button.append( '[', $buttonLink, ']' ); Where jQuery's .append calls
> .clean which near the end calls fragment.appendChild( ret[i] ); fragment
> is the document, and i is 0, ret is 3 items in length containing the
> text node, span, and other text node. jQuery tries to appendChild to the
> document and IE decides it doesn't like it.
>
> Does this seem like a jQuery bug?
>
> Note: ya, I have tried splitting the append call into three separate
> ones, still causes the same issue on the first one.
>
> --
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to