Re: 'ajaxing' Pager links
| From: | Leo Márquez | Date: | Thu, 11 May 2006 11:02:59 +0000 |
| Subject: | Re: 'ajaxing' Pager links | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24043@lists.php.net to get a copy of this message | ||
Lorenzo Alberton wrote:
Hi Leo,Now it works!!! Thanks a lot!!!======================================== $params = array(Have a look at the example #2 in the manual: http://pear.php.net/manual/en/package.html.pager.intro.php#package.html.pager.intro.example2 there you can see how to rewrite your links. hint: $params['fileName'] = 'getPage(%d)';Hi Lorenzo and thanks for your answer. I have tried that you propose but don't work for me. I hope you understand the problem. I need a javascript call, not an a link.'totalItems' => 100, 'perPage' => 10, 'append' => false, 'path' => '',// 'fileName' => 'javascript:getPage(%d)','fileName' => 'javascript:alert(%d)',); ======================================== Thanks Lorenzo,