Sponsored Ad

Friday, April 23, 2010

How to Display Message in Status Bar - JavaScript

 

This Sample JavaScript Code illustrate you that how to display message in browser window status bar. As you can check – message “This is CSharpHub.com Official Post” is displaying in given figure.

How to Display Message in Status Bar - JavaScript

The window.status property is used to assign the given message and it will display in browser.

window represent the whole browser window and status is its one property.

<html>
<head>
<script type="text/javascript">
function load()
{ window.status = "This is CSharpHub.com Official Post" }
</script>
</head>
<body onload="load()">
<p>Check the Message in Internet Explorer Satus Bar.</p>
</body>
</html>

No comments:

Post a Comment

Sponsored Ad

Development Updates