[jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

2009-03-11 Thread Nekura Neko
Thanks Dave! var newElement = $("
  • ", opener.document).text("Mod State"); $(opener.document).find("#injectHere").append(newElement); works great in MSIE7 & FF3. On Mar 10, 5:47 pm, Dave Methvin wrote: > Try this: > > $("", opener.document) > > That way it will create the li element in t

  • [jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

    2009-03-10 Thread Dave Methvin
    Try this: $("", opener.document) That way it will create the li element in the right document. http://docs.jquery.com/Core/jQuery#htmlownerDocument

    [jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

    2009-03-10 Thread Nekura Neko
    Same behavior -- which is a "No such interface supported" exeception on this WinXP/IE7.0.5730.13 machine. The $(newElement).appendTo($ (opener.document).find("#injectHere")) permutation also behaves in this way. On Mar 10, 8:48 am, Joseph Le Brech wrote: > What about something like this? > > $(

    [jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

    2009-03-10 Thread Joseph Le Brech
    What about something like this? $($(opener.document).find("#injectHere")).append(newElement); > Date: Tue, 10 Mar 2009 08:32:28 -0700 > Subject: [jQuery] .append misbehavior in MSIE7 with cross-window element > injection > From: nekura.n...@gmail.com > To: jquery-en@googlegroups.com > >