/reSetValue

Resets an input or an textarea when user focus.

Primary LanguageJavaScript

jQuery.reSetValue.js

What does it do

Placeholder text for searchfields when placeholder-attribute (HTML5) is not available.

How to use

Simply add the plugin and then:

$('#search').reSetValue();

HTML:

<input type="text" id="search" value="Search here" />