JSFiddle - React, Tailwind, and code Playground

HTML

<div id="getdata-button">click me</div>

<div id="showdata">
    sdfsd
</div>

JavaScript

$(document).ready(function(){
    //attach a jQuery live event to the button
    $('#getdata-button').live('click', function(){
        $.getJSON('http://jsfiddle.net/echo/jsonp?dfsad=adsfdsa&dsfdsa=dsas&dfdf=fdsdf', function(data) {
            //alert(data); //uncomment this for debug
            //alert (data.item1+" "+data.item2+" "+data.item3); //further debug
            $('#showdata').html("<p>item1="+data.item1+" item2="+data.item2+" item3="+data.item3+"</p>");
        });
    });
});