Clear value Input Field On Click

To add text on your input fields and have it disappear when your visitor click on it and fil out the field.

You can see this example

Ist it very simple and work great, here the code:

<input class="required" id="search" name="search" onblur="if(this.value == '') { this.value = 'Search'; }" onfocus="if(this.value == 'CCM') { this.value = ''; }" type="text" value="Search" />

Replace Search (big S) with your own text
Official wiyono blog