Delete default value of an input text on click
问题 I have an input text : <input name=\"Email\" type=\"text\" id=\"Email\" value=\"email@abc.com\" /> 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. 回答1: For future reference, I have to include the HTML5 way to do this. <input name="Email" type="text" id="Email" value="email@abc.com" placeholder="What's your programming question ? be specific." /> If you have a HTML5 doctype and a