JSFiddle - React, Tailwind, and code Playground

HTML

<button id="a">click me</button>

JavaScript

$('#a').click(function() {
    $.ajax({
        url: 'http://ichart.finance.yahoo.com/table.csv?s=GS&amp;a=00&amp;b=1&amp;c=2010&amp;d=08&amp;e=3&amp;f=2012&amp;g=d&amp;ignore=.csv',
        type: 'get',
        dataType: 'jsonp',
        success: function(data) {
            alert(data);
        },
        error: function(jqXHR, textStatus, errorThrow){
            alert(jqXHR['responseText']);
        }
    })
});