Many thanks jay for your responses.
The first one - using load() to filter the response - unfortunately
load() will then discard the remainder of the XML response. I want to
pass the HTML fragment as part of a larger XML message and use the
data from the other fields as well. I would have to mak
You could also try changing to instead. For
example this worked in firefox but not IE:
City of LondonLondon is on the River Thames
var frag = $("frag").children();
$("#myid").after(frag);
When I switched frag to span, for example, it worked.
On Jan 27, 7:29 am, JS London wrote:
You could do it this way:
http://docs.jquery.com/Ajax/load
You can pass a selector to load() to pick what you want from the
response.
On Jan 27, 7:29 am, JS London wrote:
> Hi,
>
> I would like to pass an fragment of HTML as a field in my Ajax
> response and then insert this into the DOM. For
3 matches
Mail list logo