Javascript Reference - Window status Property








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

Browser Support

status No No No No Yes

Syntax

window.status

Return Value

The text displayed in the status bar.

Example

The following code shows how to Set the text in the status bar.

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

</body>
</html>

Click to view the demo