Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
timeout in ajax
Balaji Loganathan
author and deputy
Posts: 3150
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys,
Is it possible to set a timeout option for ajax ? like after 4secs of xmlhttprequest processing....say "requets timed out..."
Please give me some tips on this..
Thank you
Balaji
Spritle Software Blogs
Eric Pascarello
author
Posts: 15385
6
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you can use the abort() method to cancel the request.
YourAjaxObjectReference.abort();
Eric
Balaji Loganathan
author and deputy
Posts: 3150
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Eric... I will try it.
Spritle Software Blogs
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Instant messaging, detect when user goes offline before his session expires
Session Time out
Place Association
How to prompt user that session is going to time out ?
JavaScript: Please Help
More...