How to use window object defaultStatus in JavaScript

In this article, I will go to explain defaultStatus property in JavaScript
  • 2880

Default Status property in JavaScript window object

This property is retrieves the default message displayed in window's status bar at the button.

Syntax of Default Status property


Browser support

The defaultStatus property does not work in default configuration of IE, Firefox, Chrome or Safari.

Example of Default Status  property

<!DOCTYPE html>



<script type="text/javascript">

    window.defaultStatus = "This is the default  status bar message";


<p>Look at the text in the statusbar.</p>




default status.jpg

You may also want to read these related articles :here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.