Response title
This is preview!
rspABC({"name":"value"})
$.ajax({
url: "http://domain/search/index.jsp?question=test&callback=?",
contentType: "application/json; charset=utf-8",
dataType: "json",
cache: false,
jsonpCallback: "rspABC",
success: function(data){
alert("okay");
},
error: function(XHR,textStatus,errorThrown) {
alert("XHR="+XHR.responseText+"\nStatus="+textStatus+"\nerror="+errorThrown);
}
});
© 2013 jQuery Foundation
Sponsored by and others.