Setting and changing message in status bar

First Name:

Last Name:


Shall we contact you?
Click on any of the input text boxes or check boxes above and take a look at the status bar below. Notice how the message changes.

This is accomplished using a simple javascript function placed in the <HEAD> area.
 function setStatus(msg) {
  window.status = msg;

Then, to use this function, simply call it from inside an input object.
<input type="text" size="10" name="firstname"
 onFocus="setStatus('Enter your first name')"
 onBlur="setStatus('Thank you!')">