h...@all.

I have a little problem with JQuery and JSON, because it's my first
JSON testing Project.

In the documentation i found this:
http://docs.jquery.com/Ajax/jQuery.getJSON
But i do not understand how it works with an JSON array. :( It's an
other JSON structure then mine.
I simply want to play around with it. And trying to load some images
in a img src tag. ;)

My jQuery Function is:
        $.getJSON("index.php?action=JSON_directory",
        function(data){
          // and this is my prob, see my php result.
          });
        });

php JSON (encoded) Result:
["\/uploads\/Argentina.gif","\/uploads\/Australia.gif","\/uploads\/
Brazil.gif","\/uploads\/Cameroon.gif"]

Hope anyone can help a lame dog over a stile. ;)

Many THX. :)

Reply via email to