status property (window)
Sets the message in the status bar or retrieves the previously specified value.
The status bar is used by the browser to display additional information. For example, if the mouse is over an anchor element, the browser displays the destination URL of the anchor element in the status bar. When no additional information needs to be displayed, the status bar contains the default message. With the defaultStatus property the value of the default message can be modified.
To modify the currently displayed message in the status bar, use the window.status property.Note that in Firefox, changing the text in the status bar is not allowed by default, the dom.disable_window_status_change setting (you can find it on the about:config page) must be set to false by the user to allow scripts to change it.
You can find the related objects in the Supported by objects section below.
This property is read/write.
String that specifies the message or retrieves the previously specified message.
Example HTML code 1:
This example illustrates the use of the status property:
Did you find this example helpful?
User Contributed Comments