Example:
<input type="text" title="Watermark text to show when field is empty" />
$('#example-1').clearme();
Clears field on first click.
$('#example-2').clearme({ restoreValue:false });
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-3').clearme({ autocomplete:true });
Also applies to textareas
$('textarea').clearme();
$('input[type="email"]').clearme();
$('input[type="tel"]').clearme();
$('input[type="url"]').clearme();
$('input[type="search"]').clearme();
$('input[type="number"]').clearme();