JQuery: After adding some AJAX, some of the jquery code no longer works

Posted by fwaokda on Stack Overflow See other posts from Stack Overflow or by fwaokda
Published on 2010-12-25T02:41:49Z Indexed on 2010/12/25 2:54 UTC
Read the original article Hit count: 149

Filed under:
|
|
|

Here's a pastebin link to my entire jQuery code. [ http://pastebin.com/w57ma5Gx ] The "Thumbnails" section was working fine before I added the ajax sections. Anyone can help me with why it quit working? And if I need to I can post another question but figured I'd try it here first. Whats a better way of writing the ajax code where it executes once upon loading the page and then every time I click the $("a#next") link afterwards? Right now I just repasted the code outside of the next link and that works, but seems silly to have the same code in two different places like that. Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript