August 1999
Intermediate to advanced
1488 pages
72h 53m
English
window.defaultStatus = string
The defaultStatus property of the Window object reflects the message that is displayed in the status bar of the browser. Note that in JavaScript 1.1, this property was tainted. See Chapter 1 for more information on JavaScript security and data tainting.
Listing 7.534 shows how you can set the default status to be displayed after a document has finished loading. This is done in conjunction with the onLoad event handler within the <body> tag.
<body onLoad="window.defaultStatus='Please make a selection'"> |
Read now
Unlock full access