X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Window status Property

Window Object Reference Window Object

Example

Set the text in the status bar:

window.status = "Some text in the status bar!!";

Try it yourself »


Definition and Usage

The status property sets the text in the status bar at the bottom of the browser, or returns the previously set text.

Note: Do not confuse this property with the defaultStatus property, which specifies the default text displayed in the status bar.

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


Browser Support

Property
status Not supported Not supported Not supported Not supported Not supported

Note: Opera 12 and earlier supports this property. However, support was removed in version 15.


Syntax

window.status

Technical Details

Return Value: A String, representing the text displayed in the status bar


Window Object Reference Window Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook