
Here is the standard jQuery Ajax call with success handler as well as the ability to pass another parameter to an external function:
$.ajax({
type: "GET",
url: Humancurl,
dataType: "xml",
success: function(data){
NameOfFunctionToParseReturnedData(data,ExtraParameter);
}
});
Here is the standard jquery ajax call with success handler:
$.ajax({
url: 'ajax/test.html',
success: function(data) {
$('.result').html(data);
alert('Load was performed.'+data);
}
});