Whats up with cross site Scripting (getJSON) and flickr example

Posted by Bernhard on Stack Overflow See other posts from Stack Overflow or by Bernhard
Published on 2010-05-10T18:40:16Z Indexed on 2010/05/10 18:44 UTC
Read the original article Hit count: 382

Filed under:
|
|

In past i had read the documentation about getJSON and there is an example with a flickr photo api. (the example with the [pussy]cats :-)).

No I ask myself why is it possible, to access flickr directly with this example. Ive tried this by store this code on my local machine - it works but if I use a local copy of jquery i just get an error in firebug like this

$ is not defined myurl/test.html Line 11

Does anybody of you have a solution for this paradox thing?

This is the documentation url HTTP:api.jquery.com/jQuery.getJSON/

The example isn´t also not working if I store the HTTP:code.jquery.com/jquery-latest.js in my local jquery file.

I also dont understand why the request isnt´s visible in Firebug Console

Thank you in advance

Bernhard

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about cross