Return to Snippet

Revision: 30970
at August 26, 2010 14:42 by Farhan


Initial Code
<input type="text" name="txt" id="txt" value="Name" 
onblur="if(this.value.length == 0) this.value='Name';" onclick="if(this.value == 'Name') this.value='';" />

Initial URL

                                

Initial Description

                                

Initial Title
Empty Form Field Onclick

Initial Tags
form

Initial Language
JavaScript