Return to Snippet

Revision: 32420
at September 24, 2010 04:06 by gera3d

Initial Code
<input type="text" value="Your Name" name="name" onblur="if (this.value == '') {this.value = 'Your Name';}"  onfocus="if (this.value == 'Your Name') {this.value = '';}" />

Initial URL

Initial Description
This just replaces the default value of a form element.  Then it bring it back if you click away.

Initial Title
Replace on Focus (form)

Initial Tags

Initial Language