所有XML,更新的DIV使用jQuery
我知道这是愚蠢的简单,但...
我使用jQuery。我发现了一个XML文档,这样
$.ajax({
type: verb,
url: url,
dataType: datatype,
success: callback
})
}
在我回电话我想,这样看起来很好格式化XML以更新指定的ID =“UpdateMe”,结果格。
这是我的psudeo代码来显示结果。
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());
}