tags:

views:

16

answers:

0

hello friends , i am working on an app in which i display the records using ajax pagination.Now each record has an edit,delete,view functionality associated with it.Every time i reload the page the 1st page of the pagination is displayed.Also when i delete a record ,say on the 3rd page it deletes the record and goes back to the first page. I am calling the loadepiece function when the page loads.

loadPiece("<?php echo $html->url('controller'=>'x','action'=>'x'));?>","#x");

Is there any way of preserving the page number?

Thanks.