JSFiddle - React, Tailwind, and code Playground

by Naeel Maqsudov

HTML

<input type="button" value="test" id="btnTest">
<div id="r"></div>

JavaScript

//console.log(1);
//$(document).ready=function(){
    console.log(3);
    $('#btnTest').click=function(){
        alert(1);
        $.ajax({
            type:'GET',
            url:'/echo/html',
            cache:false,
            dataType:'text',
            success:function(resp){alert(resp);}
        });
    };
}
console.log(2);