Hi Guys,
I'm slighty missing something here on the JSon callback support...
I've written this segment of code...
This data servlet will then return a JSon object such as...Code:<script type="text/javascript"> function processresults(obj) { alert(obj); } </script> <script type="text/javascript" src="http://www.applicationaddress.com/app/Data?data=12&output=json&callback=processresults" />
but the processresults() function is never being called ie. the alert is never raised.Code:{"items":[{"url":"http://www.address1.com","page":0,"pagetitle":"Address 1"},{"url":"http://www.address2.com","page":3,"pagetitle":" Address 2"}]}
What am I missing here, do I need to add something specific into the servlet code ?
Thanks


Reply With Quote
Bookmarks