X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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

Internet Explorer Firefox Opera Google Chrome Safari

The stop() method is supported in all major browsers, except Internet Explorer.


Syntax

window.stop()

Parameters

None.

Return Value

No return value.


Window Object Reference Window Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook