I want a textarea with some default text. When the user clicks in the textarea the default text should be deleted. How can I make value of a textarea disappear on click?
I want it exactly like this, http://www.webune.com/forums/20101025cgtc.html
But I wish it made in jQuery.
<textarea id="textarea">This should be removed..</textarea>
Just try the below snippet. First time you click on the text area it empties the content.
Very simple non-jQuery-dependent solution: