This is a javascript cut & paste code snippet that will automatically clear the default value of any form's input field when the mouse sets focus on it. Default input values are often used to aid in the explanation of the field's function, or expected input. But, becomes a nuisance once it's purpose has been served after viewing. This script intelligently distinguishes between default text setting and user-entered text and clears only the former default text setting on mouse focus.
Insert this code into your HEAD of HTML
Insert this code into your BODY section
Simply Cut and Paste Script code
Be sure to properly place script position in
HEAD & BODY sections of html
This script has been in the DesignerWiz.com Public Library.