I'm trying to get the data with jQuery Cross Domain (on github).. but without success! I read that i must make a request jsonp, but I do not understand what is wrong..
/
Chrome interprets the file as Javascript.. IE9 except a warning because the file "was blocked due to mime type mismatch".. I do not even understand if there is a difference from .txt and .json.
I'm trying to get the data with jQuery Cross Domain (on github).. but without success! I read that i must make a request jsonp, but I do not understand what is wrong..
http://jsfiddle/jzjVh/
Chrome interprets the file as Javascript.. IE9 except a warning because the file "was blocked due to mime type mismatch".. I do not even understand if there is a difference from .txt and .json.
Share Improve this question edited Jun 17, 2012 at 15:51 gdoron 150k59 gold badges302 silver badges371 bronze badges asked Jun 17, 2012 at 15:43 Ermes Enea ColellaErmes Enea Colella 1511 silver badge10 bronze badges 1- You should research for ajax Cross Domain. – gdoron Commented Jun 17, 2012 at 15:45
1 Answer
Reset to default 12And here we go again...
You are fighting with http://en.wikipedia/wiki/Same_origin_policy.
While
Possible solution will be using a local proxy like http://developer.yahoo./javascript/howto-proxy.html