Textarea Shows Message Appear And Disappear Onclick
- Forums
- Javascipt
- Textarea Shows Message Appear And Disappear Onclick
textarea shows message appear/disappear onclick - today i was looking at youtube, they have a textarea for putting comments and there is a message that says: respond to this video... [2237], Last Updated: Mon Jun 24, 2024
Notredemis
Mon Oct 25, 2010
8 Comments
2385 Visits
today i was looking at youtube, they have a textarea for putting comments and there is a message that says: Respond to this video...
as soon as the user clicks inside the textarea field, the message disappears. i like to know how they did that. i have tried but my javascript skills are limited. so i was wondering if you know of a function i can use to make it apear and disapear text when someone click inside the text area?
also, if its possible, i like to by dynamic with using ajax, if not, i guess ill settle for something static.
DEMO: