[jQuery] Return Query Results From $.ajax POST
Is it possible to return Query results from a jquery $.ajax POST call?
It seems as though it will only return one value. What am I missing?
var formval = { preceptname:$(this) .val()};
$.ajax({
type: "POST",
url: "request_processor.cfm",
dataType: "text",
data: formval,
success: function(response){
$('#contentdiv').fadeIn(2000).html(response);
}
});
});