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? Thanks!
Here’s a pastebin link to my entire jQuery code. [ http://pastebin.com/w57ma5Gx ] The Thumbnails
Share
Just use a
.liveclick handler on your thumbnails, which I assume are getting replaced by your ajax call, instead of the ‘classic’ click handler:That way, you will attach a click handler “for all elements which match the current selector, now and in the future”.