I wrote a website which looks like a weblog. My paging is with JQuery Ajax and I have a LIKE button for every post which also is JQuery Ajax. When I change the paging, the new LIKE links don’t work with Ajax and open in new tab.
Does anyone have any clue how to solve that?
I wrote a website which looks like a weblog. My paging is with JQuery
Share
Sounds like you are adding event handlers to all the links at page load, and not adding them again when you replace the links with different ones.
Use the live functionality in jQuery so you don’t need to worry about this.