jQuery Clearme Plugin Example

Markup requirements



<input type="text" title="Watermark text to show when field is empty" />

Example 1 - Default


Example 2 - One time clear

Clears field on first click.


Example 3 - Leave firefox behavior alone

Leave firefox default behavior, that is, the current value of fields are restored on page refresh and not the initial value. Try changing the value and hit refresh (F5). Notice the value typed will remain in firefox.


Example 4 - Textarea

Also applies to textareas


Example 5 - HTML5 Email Field


Example 6 - HTML5 Tel Field


Example 7 - HTML5 Url Field


Example 8 - HTML5 Search Field


Example 9 - HTML5 Number Field