XMLHttpRequest Methods: abort()

By: Dusty Arlia
Published on Friday, November 14, 2014 at 7:28 PM
Last Updated on Friday, July 03, 2015 at 3:21 PM
Total Updates: 2

The abort() method of the XMLHttpRequest object is used to reset the XMLHttpRequest object to a readyState of 0 and abort any pending network activity. This method can be used to abort a request that is taking too long and the response is no longer necessary.