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