I want to access a JSON file which is in domain1 (example.com) from domain2 (example2.com). For example,
$.ajax({ type:\'get\', url: \'http://example
Have you tried calling it as:
$.getJSON('http://example.com/vigneshmoha.json?callback=foo', null, function(data) { console.log(data); });
And see what happens?