When your website means business.

Forms | Type: JavascriptClear Input Field on Focus

Not sure why you wouldn’t use a placeholder instead.

<input type="text" onfocus="if(this.value == 'search') { this.value = ''; }" value="search" />
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept