Auto Form Value

Added: 01 January, 2007
Downloads: 318
Required: javascript
Ratting: 3

This simple script can automatically clear the default value of a field upon mouse click and also can restore the default value if user lefts the field without entering any data. This is helpful to show "Search here" inside the search field. When user clicks on the field it is erased and if used don't input any keyword and left the field then the default value autometically returns.



Features:
  • Clears form field default value when user clicks on the field.
  • Restore default value autometically onclick if field value is empty.