HTML DOM Window stop() Method

The HTML DOM Window stop() provides user the functionality to stop loading the resources of a window without clicking the browser stop button.

Syntax

Following is the syntax −

window.stop()

Example

Let us see an example of HTML DOM Window stop() method −



HTML DOM Window stop()



   
     
         HTML-DOM-Window-stop( )          
         
                                       
     
   
   

Output

Clicking ‘Go To’ button with unauthorized Full Name set −

Clicking ‘Go To’ button with authorized Full Name set −

Updated on: 2021-02-15T04:37:58+05:30

304 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements