title: Calling finance.yahoo api using jquery
body: <p>I want to send http request for fetching finance.yahoo stock data with url like : <a href="http://finance.yahoo.com/d/quotes.csv?s=GAIL.NS+BPCL.NS+%5ENSEI&amp;f=snl1hgp" rel="nofollow">http://finance.yahoo.com/d/quotes.csv?s=GAIL.NS+BPCL.NS+%5ENSEI&amp;f=snl1hgp</a> which returns a csv file. I want to read the response data and fill it in a listview using Javascript or JQuery mobile. None of the links I referred helped me.</p>
  
  <p>I tried using the following code:</p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: "http://finance.yahoo.com/d/quotes.csv",
      data: "s=GAIL.NS+BPCL.NS+%5ENSEI&amp;f=snl1hgp",
      dataType: "text/csv",
      success: function(data) {
          alert(JSON.stringify('data is :' + data));
      }
  });
  </code></pre>
  
  <p>I get blank data as alert.
  Any sample code or useful link would be appreciated. </p>