XMLHttpRequest Properties: timeout

By: Dusty Arlia
Published on Wednesday, November 12, 2014 at 8:19 PM
Last Updated on Sunday, July 19, 2015 at 10:31 AM
Total Updates: 2

The timeout property of the XMLHttpRequest JavaScript object holds the timeout value in milliseconds. If the HTTP request takes longer than this property's value to complete, then it will be aborted and a timeout event will be triggered. This property can only be set after calling the open() method and before calling send().

Comments:

Ad: