JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="http://js-tables.googlecode.com/svn/trunk/jquery.csv.js"></script>
<div id="someOutput"></div>
JavaScript
$(document).ready(function() {
$.ajax({
async:false,
url: 'http://finance.yahoo.com/d/quotes.csv',
dataType: 'text',
type: 'GET',
crossDomain : true,
success: function(data, textStatus, jqXHR){
$("#someOutput").append("received by ajax: " + data);
},
error: function(XMLHttpRequest, textStatus, errorThrown){
$("#someOutput").append("error");
}
});
var CSVData = jQuery.csv(",")(data);
//Do your stuff here looping through each row in the Object Array.
});