Window stop() Method
Definition and Usage
The stop() method is used to stop page loading.
This method is similar to clicking the stop loading button in the browser.
If a page takes too long to load images or frames (iframe), we can use this method to stop loading.
Syntax
window.stop()
Parameter Description:
- none.
Return Value
No value is returned.
Browser support
| Method | |||||
|---|---|---|---|---|---|
| stop() | Yes | Not supported | Yes | Yes | Yes |
Example
Example
Stop loading the frame:
window
.
stop
(
)
Try it »
Window Object