posted 16 years ago
Hi guys,
What I'm trying to do is, the first time a user clicks on a comment (text area) box which has a default value of ''Enter your comment...' to clear this default value. On subsequent clicks the text should remain.
The code I've written clears the textarea everytime I click on it regardless of what the value/text inside is. Can anyone see the flaw in my logic?
Thanks in advance for your thoughts
Regards
Zein