CodeIgniter Forums
prototype Ajax.updater doesn't work? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: prototype Ajax.updater doesn't work? (/showthread.php?tid=38594)



prototype Ajax.updater doesn't work? - El Forum - 02-12-2011

[eluser]Unknown[/eluser]
Hello every body,

I've been following the tutorial of the paging with CI with Ajax + prototype
http://codeigniter.com/wiki/AJAX_Pagination_with_CI_Pagination_Library/

Everything works except that the links to go trough the pages dont work.

the link is like that;

Code:
[code]ef="#"  onclick="new Ajax.Updater('content','index.php/my_data_page/',{method: 'post', parameters:{page:4}, evalScripts:true}); return false;" />2</a>
[/code]

Using fire bug to see what's appening. When i click on a like there is effectivily a post request to the right page but there is nothing in the POST (yeah with firebug u can see the content of what has been posted... nothing)

So i would like to know if i missed something ?

thanks