title: Unable to data from Google Finance in string format through JavaScript
body: <pre class="lang-javascript prettyprint-override"><code>function getData(){
  
      $.get("http://www.google.com/finance/getprices?q=.NSEI&amp;x=NSE&amp;i=60&amp;p=1d&amp;f=d, o, h, l, c, v", function(data){
          alert("Data:"+data);
  });
  
   }   
  getData();
  </code></pre>
  
  <p>The above URL gives response in string format and not in JSON format, so I can't use $.getJSON.</p>
  
  <p>I am able to get the data in Java, but using JavaScript, the data is not coming and the alert is not executed.</p>
  
  <p>How can I get data from external URL through <code>$.get</code> method?</p>