Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
window.stop() Method in Window Object of Javascript Syntax with Examples
2573 Views
Usage 
The stop() mehod is used to stop loading the window.
Syntax 
myWindow.stop();
Example
<button onclick="javascript:showwindow();">Stop</button>
var myWindow = window.open("http://www.knowledgewalls.com","","width=800,height=300");

function showwindow(){
  myWindow.stop();
}
Output 
Once we run the run, it will display the webpage.We can use "stop" button to stop loading the window.
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details