JavaScript window.stop() Method
You are Here:
JavaScript window.stop() Method
The window.stop()
method stops window loading.
This method is equivalent to the stop button in the browser.
Note: This method cannot interrupt its parent document's loading, but it will stop its images, new windows, and other still-loading objects.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<p>I will display</p>
<script>
// Try to remove 'window.stop()';
window.stop();
</script>
<p>I won't display</p>
</body>
</html>
Syntax
window.stop()
Reminder
Hi Developers, we almost covered 97% of JavaScript Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in JavaScript.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.