[jQuery] Re: using a selector to obtain content from an ajax response

2008-07-07 Thread Vincent Robert
I can't really say from your answer that you actually solved your problem, so here is a way to use the browser parser instead of the jQuery one: $('').html(responseText).find('response_selector').appendTo('target_selector'); This creates a DIV node without adding it to the document in order to p

[jQuery] Re: using a selector to obtain content from an ajax response

2008-07-07 Thread theog
Thanks. I think the issue here was the Response contained strict xhml - html markup that jQuery could not parse. Wierd. Theo On Jun 24, 11:41 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > $(responseText).find('your_selector').appendTo('#poi-review- > container'); > > Cheers > > -- > Ariel Flesl

[jQuery] Re: using a selector to obtain content from an ajax response

2008-06-24 Thread Ariel Flesler
$(responseText).find('your_selector').appendTo('#poi-review- container'); Cheers -- Ariel Flesler http://flesler.blogspot.com On 24 jun, 03:17, theog <[EMAIL PROTECTED]> wrote: > In the example line below the responseText is the full HTML body > returned. > > I want to be able to parse the HTML