Welcome Guest, Not a member yet? Register   Sign In
AJAX Pagination with CI Pagination Library
#11

[eluser]hotmeteor[/eluser]
Can you please post your JS for us?
#12

[eluser]garymardell[/eluser]
http://www.prototypejs.org/
#13

[eluser]hotmeteor[/eluser]
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.
#14

[eluser]tunelko[/eluser]
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>
#15

[eluser]hazy[/eluser]
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:
Code:
<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.
#16

[eluser]Asinox[/eluser]
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....
#17

[eluser]Amzad Hossain[/eluser]
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
#18

[eluser]paulopmx[/eluser]
His using prototype
#19

[eluser]smatakajr[/eluser]
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
#20

[eluser]Unknown[/eluser]
I was able to make it work in my page. thanks a lot =D




Theme © iAndrew 2016 - Forum software by © MyBB