Object
SCRIPT Tag
Used to include JavaScript code.
Grammar
Property
LANGUAGE Definition scripting language
SRC defines a URL to specify a file that ends with. js
Windows object
The top-level object for each HTML document.
Property
Frames[] An array of child frames. Each child frame array is stored in the order defined in the source document.
Feames.length of the number of child frames.
Self Current window.
Parent Parents window (the current window is one of the child windows).
Top top-level window (is the parent window for all visible windows).
The message on the Status Browser state window.
Defaultstatus The default message that appears on the Browser status window when status is not valid.
Name Internal name, which is defined by the window that is opened by the window.open () method.
Method
Alert ("message") Displays the JavaScript Alert dialog box that contains the given message.
Confirm ("message") Displays the "Confirm" dialog box (with an OK button and a Cancel button) that contains the given message. Returns FALSE if the user clicks OK to return true.
The prompt ("message") displays a "Prompt" dialog box that requires the user to give the appropriate input based on the display message.
Open ("URL", "name") opens a new window, giving a specified name.
Close () Closes the current window.