Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Window status property

Window status property

Window Object Reference Window Object


Definition and Usage

The status property sets or returns the text in the window's status bar.

Syntax

window.status


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Note: The status property does not work with the default settings of IE, Firefox, Chrome, and Safari. To allow scripts to change the status bar text, the user must set the preference dom.disable_window_status_change to false on the config screen (or in Firefox: Tools - Options - Content - Enable JavaScript / Advanced - Allow scripts to change status bar text).


Example

Example

Set the text in the status bar:

Try it »


Window Object Reference Window Object