The fact it is escaped could be an issue are you doing HttpUtility.HtmlEncode in your handler for some reason?
Do you know about NewtonSoft's Json.NET library that makes it a snap to generate JSON from .NET classes? On Jun 29, 10:07 am, expresso <dschin...@gmail.com> wrote: > I have the following setup on my page inside a function: > > $.getJSON("http://localhost:59396/xxx/xxxHandler.ashx? > action=xxxjson", > function(data) { > alert('got here'); > $.each(data.items, function(i, item) { > > carousel.add(i, mycarousel_decodeEntities(item.ImageTag)); > if (i == 3) return false; > }); > }); > > I know that if I take that url and render it in the browser straight > up, I get this: > > [{"ImageTag":"\u003cimg src=\"http://www.xxx.com/ > cat_image/1659D.jpg\" alt=\"\"\u003e"}, > {"ImageTag":"\u003cimg src=\"http://www.xxx.com/ > cat_image/536.jpg\" alt=\"\"\u003e"}] > > where xxx is our domain. > > So not sure why it's never getting to my alert inside function(data)