.grab only accepts *one* element.

.adopt accepts multiple elements: http://jsfiddle.net/tf2fk/2/

Also you were trying to load the HTML synchronously, which is pretty bad...

On Fri, Oct 7, 2011 at 3:26 PM, Blackbird <[email protected]> wrote:

> I agree, but that's not the point. I put it in an external URL for
> readers of this group to be able to see the content of the file.
>
> The point is: the line "$$
> ("div#main").grab(MyPresenter.getPresenter());" triggers the exception
> I'm mentioning in my first message. Why?
>
>
> On Oct 7, 3:14 pm, Fli7e <[email protected]> wrote:
> > You try to load an external URL by XHTTP Request - i bet this won't
> > work.
> >
> > just my 2cent
> >
> > On 7 Okt., 10:43, Blackbird <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi Sanford, and thank you for your reply. I'm new to Google groups and
> > > hadn't registered for email updates, that's why I'm answering this
> > > late.
> >
> > > The jsFiddle you were asking for:http://jsfiddle.net/tf2fk/1/
> >
> > > Cheers,
> > > Christophe
> >
> > > On Oct 4, 12:45 am, Sanford Whiteman <[email protected]>
> > > wrote:
> >
> > > > jsFiddle of the offending code, please.
> >
> > > > -- S.
>

Reply via email to