JSFiddle - React, Tailwind, and code Playground
HTML
<input id="test" type="text"/>
<input type="checkbox"/>
<input type="text"/>
<input type="text"/>
<input type="text"/>
JavaScript
var iURL = "http://ajax.googleapis.com/ajax/services/search/images";
$.ajax({
url: iURL,
type: 'GET',
dataType: 'jsonp',
data: {
v: '1.0',
q: 'bmw',
format: 'json',
jsoncallback: '?'
},
success: function(data){
console.log(data);
},
error: function(xhr, textStatus, error){
console.log(xhr.statusText, textStatus, error);
}
});