permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Cancelling Ajax request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cancelling Ajax request" Watch "Cancelling Ajax request" New topic
Author

Cancelling Ajax request

Abdel Olakara
Greenhorn

Joined: Jan 10, 2007
Posts: 6
Hi everybody,
I have a complex page which works like a portal. There are three "boxes" which are filled with latest data using AJAX. I have also provided a expansion button to these boxes so that a user can select to view only one particular box and all other are hidden off. My trouble is I want to cancel the all other AJAX requests..
Hope I am clear with the doubt, Thanks in advance.
-- Abdel Olakara
http://olakara.googlepages.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Use the abort() method of XMLHttpRequest.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cancelling Ajax request