JSFiddle - React, Tailwind, and code Playground
JavaScript
$.ajax({
type: "GET",
url: "/echo/html/",
data: {
html: "2",
delay: 3,
option : 'com_content',
view : 'article',
id : 45,
tmpl : 'component'
},
success: function(msg){
alert('Success: '+msg);
},
error: function(jqXHR, textStatus, errorThrown) {
alert('Error: '+textStatus)
}
});