Thursday, November 10, 2011

How to make default text disappear when you click in an html form text input field

<input type="text" name="keywords" size="10" maxlength="30" style="width: 135px" value="Search" onfocus="if (this.value == 'Search') this.value = '';">

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Web Design & Marketing - Click and get an instant quote on your project