Monday, April 23, 2012

Ajax Pagination only works once (no javascript loaded)

Hello everyone :)

I'm trying to implement Ajax Pagination as described here: http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html#ajax-pagination

I've followed all the steps and the ajax loading does work - but only once. When I click another page of the table, the whole webpage is reloaded. It seems that no javascript is loaded or working after the first pagination load, which I can deduce from the fact that other javascript functions do not work either (e.g. function to colour the background of even and uneven table rows differently doesn't work). How do I solve this? Why does no javascript (especially no pagination itself)  work after one pagination load via ajax?

Thanks in advance for any advice


Timo

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: