Ok I\'m stumped on this one. I need to iterate through these so I can make a listing by the category so something like
Business Books Book 1
Business Books
Book 1
Looping with .each() is pretty easy:
$.each(window.books, function(category, books) { $("#books").append("" + category + ""); $.each(books, function(i, book) { $("#books").append("" + book.Title + ": " + book.Description + ""); }); $("#books").append(""); });
" + category + "
here is my jsFiddle