H I O X INDIA
Javascript Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java-Script Tutorial
Introduction
Variables
Operators
Statements
Loops
Functions
Objects
Arrays
Browser Objects
Form DOM
Ask Your Doubts
Feedback





Window Object Methods


Topic

what are the functions/methods that are supported by window object?



Explanation

Window Object Functions:
The following table lists the methods associated with Window object.

MethodDescriptionTEST
alert() Method "alert('message string')" is used to popup an alert message.
confirm() Method "confirm('message string')" is used to display a confirm dialog box. learn more about confirm ...
prompt() Method "prompt('message string')" is used to get user input. learn more about prompting a message...
open() Method "open(url, name)" is used to open a new window using javascript. learn more about it...
close() Method "close()" is used to close a window using javascript. learn more...
scroll(x,y) Method "scroll(x, y)" is used to move a window to a new position of at axis x,y.  
blur() Method "blur()" is used to remove focus from the window. To test this, open two or more windows and test.
focus() Method "focus()" is used to bring a window in focus.  
setTimeout() Method "setTimeout()" is used to execute an expression or function after a time interval. learn more about it...  
clearTimeout() Method "clearTimeout()" is used to clear a timeout set using the above method. learn more about it...  


        Javascript (JS) is one of the most used languages in the world. Some times spelled as Java Script. Hope you enjoy this tutorial. Do send your feedback or suggestions on this javascript or java script tutorial. This is a copyright content.

others

privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links