THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

Window stop() Method

Window Object Reference Window Object

Example

Stop the window from loading:

window.stop();
Try it Yourself »

Definition and Usage

The stop() method stops window loading.

This method is the same as clicking on the browser's stop button.

This method may be useful if the loading of an image or frame takes too long.


Browser Support

Method
stop() Yes Not supported Yes Yes Yes

Syntax

window.stop()

Parameters

None

Technical Details

Return Value: No return value

Window Object Reference Window Object