All,
I know this is stupid simple but...
I'm using jQuery. I'm getting an XML document like this
$.ajax({
type: verb,
url: url,
dataType: datatype,
success: callback
})
}
In my call back I want to update a div named ID="UpdateMe" with the result so that it looks like nicely formated XML.
This is my psudeo code for displaying the result.
function update_me_with_response(data){
//I make it here just fine with no problems.
//The following line is totally not working any ideas?
$("#ajaxer_output").text(data.text.escapeHTML());
}