Q:
In addition to alert (), how can I write JavaScript statements !!!!
A:
Frames [] sublists array. Each sublists array is stored in the order defined in the source document.
Feames. Length: Number of child partitions.
Self current window.
Parent window (the current window is a Child Window ).
Top-level window (the parent window of all visible windows ).
Status browser status window message.
Defaultstatus: the default message displayed in the browser status window when status is invalid.
Name: the internal name defined by the window opened by the window. open () method.
Method
Alert ("message") displays the "javascript alert" dialog box containing the given message.
Confirm ("message") displays the "Confirm" dialog box containing the given message (there is an OK button and a Cancel button). If you click OK, return true; otherwise, return false.
The prompt ("message") displays a "prompt" dialog box. You are required to provide corresponding input based on the displayed message.
Open ("url", "name") opens a new window with a specified name.
Close () Close the current window.
Frame object
It is a subwindow of the entire browser window. Besides the status, defaultstatus, and name attributes, it has all the properties of the window object.