Hi
I try to use ajax pagination but I get always an error if I try
without ajax the pagination works.
My code is:

view.thtml:
<?php
echo $ajax->link('test',                                                        
        array( 'controller' => 'documents',
'action' => 'test'),
        array( 'update' => 'dataRecipientsList' )
);
?>
<div id="dataRecipientsList">
</div>


test.thtml
<?php
$paginator->options(array('update' => 'dataRecipientsList'));
?>


I get always this error :
element is null
if (element._prototypeEventID) return element._prototypeEventID[0];
\n....
prototype.js (row 3936)

I don't understand where is error . Can someone help me ?
Many Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to