JavaScript > Window

Change browser status bar in JavaScript

How to change the the default text of browser status bar using JavaScript?


defaultStatus Property

defaultStatus property sets the defalut text in the status bar (at bottom of the browser).

NOTE: The defaultStatus property does not work on any browsers. The status bar can be appears only after page loading is completed. 

<p>This property does not work in any browsers, for showing the example we are creating demo.</p>

<script>
   window.defaultStatus = "The default text in the status bar goes like this...."
</script>

In the above code snippet we have given text to the dafaultStatus property in the script code.

 Views: 4027 | Post Order: 196



Write for us






Hosting Recommendations