Section 25.321. XMLHttpRequest.abort( ): cancel an HTTP request


25.321. XMLHttpRequest.abort( ): cancel an HTTP request

25.321.1. Synopsis

 void abort( ) 

25.321.2. Description

This method resets the XMLHttpRequest object to a readyState of 0 and aborts any pending network activity. You might call this method, for example, if a request has taken too long, and the response is no longer necessary.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net