X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET 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, or Safari. 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

Internet Explorer Firefox Opera Google Chrome Safari

The status property is only supported in Opera.


Syntax

window.status

Technical Details

Return Value: 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