[jQuery] jQuery - GET results
I am wondering if anyone here can help me with after retrieving my
results via ajax using jQuery how to print them in say a DIV tag and
print them all out, I have this so far:
$(document).ready(function(){
$.ajax({
type: "GET",
url: "letters.php",
dataType: "html",
error: function(){
alert('Error loading XML document');
},
success: function(data){
alert("Data Loaded: " + data);
}
});
});
That works fine, it prints all of my HTML out in my alert that I have
in, but I want them on the screen. Any ideas?