[jQuery] How to parse?

2009-05-11 Thread cstolwor...@gmail.com

I have an ajax call that will be returning a large chunk of HTML.  The
thing is that this HTML needs to go to several different places on the
page.  I would rather not have to make several different requests for
the data.  Is it possible to take a large (bundled) HTML value, parse
it into a temporary DOM and insert by finding what I need out of it?


[jQuery] Re: How to parse?

2009-05-11 Thread cstolwor...@gmail.com

I have noticed the selectors you can use when making an ajax call.  I
want to do pretty much the same thing, but I don't want to make
another call I just want to apply a selector to my existing data

On May 11, 4:23 pm, "cstolwor...@gmail.com" 
wrote:
> I have an ajax call that will be returning a large chunk of HTML.  The
> thing is that this HTML needs to go to several different places on the
> page.  I would rather not have to make several different requests for
> the data.  Is it possible to take a large (bundled) HTML value, parse
> it into a temporary DOM and insert by finding what I need out of it?


[jQuery] JQuery Payload

2009-04-09 Thread cstolwor...@gmail.com

I was wondering if JQuery has anything builtin to find an element from
the payload of an ajax call, and eval() the contents of it?  I have
some cases where I will be returning javascript with HTML and I would
like to be able to just execute it