I have added an ajax sort to pagination.
<script type="text/javascript">
$(document).ready(function()
{
$("#bookmarks").tablesorter();
$('a[href*=/sort:]').livequery('click', function(){
$('#testLoad').load($(this).attr('href'));
return false;
});
}
);
</script>
So it reloads the pagination based on the sort.
Only problem i have is it sends out the request over and over. It does not
stop. I click one sort asc and watch the net activity in firebug and it just
keep going. 57 requests and counting. I only have 10 bookmarks to sort for
testing. Any ideas why this would happen?
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---