Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Window stop() Method

Window stop() Method

Window Object Reference Window Object


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:

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 Reference Window Object