Revision: 32420
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 24, 2010 04:06 by gera3d
Initial Code
<form> <input type="text" value="Your Name" name="name" onblur="if (this.value == '') {this.value = 'Your Name';}" onfocus="if (this.value == 'Your Name') {this.value = '';}" /> </form>
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
form
Initial Language
HTML