As with the #book thing pointed out by narc0x, the way you are using “page” as an ID for the links in should be a class, the ID attribute is supposed to be unique for the entire document.
Comment by narc0x on July 4, 2010 at 3:07 pm
in the frontend.js file , line 4 and 5 i think is better do like this:
var booksHtml = $(“#books”);
for (var i in response.books) {
booksHtml.append(….);
}
About this blog
This blog is dedicated to showcasing great web design as well as providing advice and tips to any aspiring web designers out there. Hopefully these articles will aid you in your design and development.
2 comments
Comment by jinexile on July 4, 2010 at 2:41 pm
As with the #book thing pointed out by narc0x, the way you are using “page” as an ID for the links in should be a class, the ID attribute is supposed to be unique for the entire document.
Comment by narc0x on July 4, 2010 at 3:07 pm
in the frontend.js file , line 4 and 5 i think is better do like this:
var booksHtml = $(“#books”);
for (var i in response.books) {
booksHtml.append(….);
}