Twitsnip is a place to post code snippets and share them. Login with your existing Twitter account, if you don't have a Twitter account simply create on at www.twitter.com

Remove text when clicked

Remove text when clicked

0

the following code is used to remove the text when clicked.

<input type="text" value="Email" onblur="if(this.value=='')this.value='Email';" onfocus="if(this.value=='Email')this.value='';" size="45" maxlength="255" class="text-input" name="email">

Tags:

Comments

No comments yet

Login to Twitter to comment