[jQuery] .get Question
[jQuery] .get Question
Hi,
i want to replace the innerHtml of an div with data from an xml
document.
the data in the xml document is html syntax and within an element
called "data".
i do this with .get :
$.get("foo.xml",function(xml){
$('#bar').html($("data",xml).text());
});
this works, but i only get the text within "data" and all html syntax
is striped out.
if i want to get the _complete_ content of "data", including html
syntax how do i do this?
thanx,
Daniel
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/