[jQuery] Re: Possible to kill pending Ajax requests

2007-05-25 Thread Rob Desbois
Is there not any way you could package all these AJAX calls into a single call? It may end up with a much cleaner solution than aborting requests after they've been made, and would reduce the perhaps unnecessary overhead of multiple requests. --rob On 5/24/07, Jörn Zaefferer <[EMAIL PROTECTED]>

[jQuery] Re: Possible to kill pending Ajax requests

2007-05-24 Thread Jörn Zaefferer
Jeffrey Kretz wrote: The page I’m working on has a database-driven table of choices with a checkbox at the beginning of each row. If you click the checkbox on, an Ajax call is made to get additional information. I want to add a “select all” button which will check off all boxes at once a

[jQuery] Re: Possible to kill pending Ajax requests

2007-05-24 Thread Jake McGraw
The xhr object has an abort function, whenever you call an ajax function, you return the XHR object, so simply map a value from the checkbox name to the XHR object into an object, and call the abort function when the checkbox is clicked. - jake On 5/24/07, Jeffrey Kretz <[EMAIL PROTECTED]> wrote