How to use window object defaultStatus in JavaScript
In this article, I will go to explain defaultStatus property in JavaScript
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>
<html>
<body>
<script type="text/javascript">
window.defaultStatus = "This is the default status bar message";
</script>
<p>Look at the text in the statusbar.</p>
</body>
</html>
|
Output:
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