-1
如何以cakephp方式在cakephp 3.x中實現ajax分頁。cakephp 3.x ajax分頁
在cakephp 2.x,我用下面的代碼來實現ajax分頁(JS助手)。
$this->Paginator->options(array('update' => '#content', 'evalScripts' => true));
和
$this->Js->writeBuffer();
PL幫助我的人。
以下是帶有代碼的實例:http://sandbox.dereuromark.de/sandbox/ajax-examples – mark