JSFiddle - React, Tailwind, and code Playground
by austegard
HTML
<input type="text" value="http://google.com"><button>Get Head</button><br/>
View console for results
CSS
input {width: 400px}
JavaScript
$("button").click(function(){
var url = $("input").val();
alert(url);
/* WTF is this not working?
jQuery.ajax({
type: "GET",
url: $("input").value(),
success: function(message,text,response){
console.log(response);
}
});
*/
});