JSFiddle - React, Tailwind, and code Playground
by dmethvin
JavaScript
// #2994
$.ajax ({
url: 'http://google.com/dog/food',
// dataType: 'text',
// cache: false,
success: function (data, textStatus) {
alert('success');
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert('error');
},
complete : function(XMLHttpRequest, textStatus) {
alert('complete');
}
});