Javascript examples for Browser Object Model:Window stop
The stop() method stops window loading which is the same as clicking on the browser's stop button.
None
No return value
The following code shows how to Stop the window from loading:
<!DOCTYPE html> <html> <head> <script> window.stop();/* w w w .j ava2 s .c o m*/ </script> </head> <body> <iframe src="http://www.java2s.com"></iframe> </body> </html>