button got stuck? ;-)

BTW, you shouldn't need to use livequery if you have jquery 1.3+. You
can use live() instead.

http://docs.jquery.com/Events/live#typefn


On Mon, Aug 17, 2009 at 3:58 PM, Dave Maharaj ::
WidePixels.com<d...@widepixels.com> wrote:
> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to