Search w3schools.com:

SHARE THIS PAGE

Window status Property

Window Object Reference Window Object

Definition and Usage

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

Syntax

window.status


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

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").


Example

Example

Set the text in the status bar:

<html>
<body>

<script>
window.status="Some text in the status bar!!";
</script>

</body>
</html>

Try it yourself »


Window Object Reference Window Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]