You can change the window status bar text messages of web browsers using javascript code. In Javascript there is a DOM object window that represents the browser window displaying the web page. This window object has a property status that allows changing the text of window status bar.
Status property of window object accepts the string message that sets the text in the status bar of a window.
Javascript is a case sensitive language, so remember to use status property in lower case.
JavaScript code to change window status
<html>
<head>
<title>JavaScript Change Window Status</title>
<script language="javascript" type="text/javascript">
function pageLoad() {
window.status = 'JavaScript Tutorial to change window status';
}
</script>
</head>
<body onload="pageLoad();">
</body>
</html>
To change the window status text you have to create a javascript function like pageLoad() function in above example. Call that function onload event of html body.
Continue to next tutorial: Javascript onmouseover Set Window Status to learn how to change the status bar text onmouseover event.