Delete default value of an input text on click

Posted by AZIRAR on Stack Overflow See other posts from Stack Overflow or by AZIRAR
Published on 2010-06-06T13:26:34Z Indexed on 2010/06/06 13:32 UTC
Read the original article Hit count: 338

Filed under:
|
|
|

Hey,

I have an input text :

<input name="Email" type="text" id="Email" value="[email protected]" />

I want to put a default value like "What's your programming question ? be specific." in StackOverFlow, and when the user click on it the default value disapear.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html