How to clear textarea on click?

Posted by Azzyh on Stack Overflow See other posts from Stack Overflow or by Azzyh
Published on 2010-05-06T18:49:50Z Indexed on 2010/05/06 19:28 UTC
Read the original article Hit count: 215

Filed under:
|
|

Given a <textarea> with a default value as follows:

<textarea>Please describe why</textarea>

How do you clear the default value when the user clicks to edit the field?

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript