HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Window defaultStatus Property

Window Object Reference Window Object

Example

Set a default text in the status bar:

window.defaultStatus = "This is the default text in the status bar!!"

Try it yourself »

Definition and Usage

The defaultStatus property sets or returns the default text in the status bar at the bottom of the browser (the text will be displayed when the page loads).

Note: The defaultStatus 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 defaultStatus property is only supported in Opera.


Syntax

window.defaultStatus

Technical Details

Return Value: The default 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 BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE