thanks for the reply, but it gave me an invalid label with my json,
which as I've read before, can be "solved" by eval'ing it with the
parenthesis:
var myObj = eval( "(" + someJsonString + ")" );

but after eval'ing, nothing happens (again), no alert :(
In firebug I can see the json is there...


> Both of these methods work fine for me:
>
> $.getJSON('http://site1:8888/myjson.json?format=json&callback=?',
> function(data) {
>         alert(data.result);
>
> });
>
> $.ajax({
>         url: 'http://site1:8888/myjson.json?format=json',
>         dataType: 'jsonp',
>         success: function(data) {
>                 alert(data.result);
>         }
>
> });

Reply via email to