Part of the EllisLab Network
   
2 of 2
2
AJAX Pagination with CI Pagination Library
Posted: 31 March 2008 05:13 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
RankRankRank
Total Posts:  334
Joined  04-05-2007

http://www.prototypejs.org/

Profile
 
 
Posted: 31 March 2008 05:24 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  33
Joined  12-12-2007

I know what he’s using, I want to see his actually JS to see what he’s sending and what he’s getting back, as I’m using jQuery.

How is he updating his table via AJAX, etc.

Profile
 
 
Posted: 17 June 2008 04:13 AM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  8
Joined  05-30-2008

Great job Ajax Pagination.

<opinion>
If you post a modification people wants complete examples. You missed the client side JS with parameters dealing. I can imagine this, but its better you post your own complete and working examples, isn’t it?

If a can help with a class modification , i’ll put all the examples.
</opinion>

 Signature 

There’s no spoon

Profile
 
 
Posted: 08 July 2008 07:54 AM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  5
Joined  01-22-2008

Hi Gin2

What you have done is just what I need for my project thanks, so I’ve implemented your code - w/o the later modification and get this output:

<div id="content">
<
table border="0" cellpadding="4" cellspacing="0">
... ... ...
</
table>
&
nbsp;<b>1</b>
&
nbsp;<a href="#" click="new Ajax.Updater('content','... ... ...',{method: 'post', parameters:{page:2}, evalScripts:true}); return false;">2</a>
&
nbsp;<a href="#" click="new Ajax.Updater('content','... ... ...',{method: 'post', parameters:{page:2}, evalScripts:true}); return false;">></a>
&
nbsp;
</
div

[onclick replaced by click for this post]

Which all seems to look OK, no errors in Firebug. But the onClick event never seems to fire. Now I’m not in any way a JS programmer so any clues on a way forward would be appreciated.

Profile
 
 
Posted: 14 July 2008 02:49 PM   [ Ignore ]   [ # 15 ]  
Lab Assistant
RankRank
Total Posts:  225
Joined  06-04-2007

Well i want to implement this… but i hav a bug…. i see the links pagination…but when i go and click to the links pagination i hav the error : PAGE NO FOUND 404….

 Signature 

http://www.asinox.net
CodeIgniter code and more.

Profile
 
 
Posted: 12 August 2008 05:04 AM   [ Ignore ]   [ # 16 ]  
Grad Student
Rank
Total Posts:  39
Joined  06-30-2008

I have checked this library and modified it for CodeIgniter 1.6.2 . I have used JQuery.
Here is the link to the post of my blog. I call it Jquery_pagination

Jquery_Pagination

 Signature 

My Blog: tohin.wordpress.com

Profile
 
 
Posted: 12 August 2008 05:58 AM   [ Ignore ]   [ # 17 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  169
Joined  04-23-2007

His using prototype

 Signature 

A Better and more Flexible Paging Solution for CI
Automatic config[base_url]

Profile
 
 
Posted: 01 February 2009 10:38 AM   [ Ignore ]   [ # 18 ]  
Grad Student
Avatar
Rank
Total Posts:  60
Joined  01-16-2009

Hey Im using your ajax paginiation. But im running into a problem here
I have have a view that loads a main template css js etc.. when i use
the jquery pagination it returns the whole page template and all
inside the div block How do i just retun the data not the whole
page in CI?


Thanks
Rick

 Signature 

Rick Mataka (Ricky)

Need Reliable Hosting For Your Sites
http://www.AmericasHostingnetwork.com

Follow Me!
http://TwitterRicky.com

Profile
 
 
Posted: 18 August 2009 04:35 AM   [ Ignore ]   [ # 19 ]  
Summer Student
Total Posts:  1
Joined  08-18-2009

I was able to make it work in my page. thanks a lot =D

Profile
 
 
Posted: 17 August 2011 09:02 PM   [ Ignore ]   [ # 20 ]  
Summer Student
Total Posts:  13
Joined  06-01-2011

Do you run ok? Please give me code!
thanks.
i did it but it’s error :(
please help me

Profile
 
 
   
2 of 2
2