Window defaultStatus Property - Javascript Browser Object Model

Javascript examples for Browser Object Model:Window defaultStatus

Description

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

Return Value

The default text displayed in the status bar

Set a default text in the status bar:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<script>
window.defaultStatus = "This is the default text in the status bar!!";
</script>/*from   ww w. ja v  a2 s  .c o  m*/

</body>
</html>

Related Tutorials