Ok, figured out that data.items is undefined. Not sure why because
here's the json my url returns:

[{"ImageTag":"<img src="http://www.xxx.com/image/473.jpg"
alt="">"},{"ImageTag":"<img src="http://
www.xxx.com/image/4852.jpg" alt="">"}]

On Jun 29, 10:33 am, expresso <[email protected]> wrote:
> I get the following error:
>
> G is undefined
> init()()jquery-1....2.min.js (line 12)
> (?)()()Carousel.aspx (line 30)
> I()jquery-1....2.min.js (line 19)
> F()()jquery-1....2.min.js (line 19)
> [Break on this error] (function(){var l=this,g,y=l.jQuery,p=l.....each
> (function(){o.dequeue(this,E)})}});
>
> in jquery-1.3.2.min.js
>
> when I call this method of mine:
>
>     $.getJSON("http://localhost:59396/xxx/xxxHandler.ashx?
> action=xxxjson",
>         function(Data) {
>         $.each(Data.items, function(i, item) {
>         alert('got here');
>         carousel.add(i, mycarousel_decodeEntities(item.ImageTag));
>                 if (i == 3) return false;
>             });
>         });
>
> I know I can get inside function(Data){ and that the error starts at
> $.each I believe

Reply via email to