I'm using ZendFramework and I need to populate the data I store in database in a table in the view but I need to do that using Ajax and json I have a web service that print the following
{"cat":[{"id":"1","name":"Meat","image_url":"meat.jpg"},
{"id":"2","name":"Soup","image_url":"soup.jpg"},
{"id":"3","name":"drink","image_url":"drink.jpg"},
{"id":"8","name":"Pastries","image_url":"Pastries.jpg"},
{"id":"9","name":"Ice-cream","image_url":"ice_cream.jpg"},
{"id":"10","name":"salad","image_url":"salad.jpg"}]}
the url for this web service is
http://localhost/resturant/public/categories/show-categories
how can I using this web service and Ajax populate the data in Table I'm so begineer in Ajax actually and I search google but still stuck please any Idea thnxx all