A few weeks ago I asked for information about how to move xml data into a 
place holder div in a master document, it was pointed out to me that this 
approach would lead to difficulties.  John offered to explain the code below

I would greatly appreciate an explanation and perhaps an example of the code 
below
> Moving non-HTML elements into an HTML
> document is problematic in most browsers. Another recommendation:
> Instead of returning an XML document, return an HTML one - then you
> can do stuff like this:
>
> $("<div></div>")
>     .html( htmlString )
>     .find("div#tmp-title")
>         .appendTo("#title")
>     .end()
>     .find("div#tmp-body")
>         .appendTo("#body")
>     .end();
>
> Let me know if that makes sense to you, I can try and explain it some more.
>
> --John



much appreciated - Sam

ps Pesky Internet provider cut me off, when they were supposed to be enhancing 
the service ironic which is why the delay :(


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to