how to remove default text from text box on first click through javascript?
can any body write code for me?
how to remove text from text box on first click through js
Moderator: General Moderators
Re: how to remove text from text box on first click through js
Hello,
Surely this isnt a PHP question
.
<input type="text" onClick="this.value=''"/>
I think that should work...
Thanks.
Surely this isnt a PHP question
<input type="text" onClick="this.value=''"/>
I think that should work...
Thanks.
Re: how to remove text from text box on first click through js
Thanx but I want to do that only on first click after page load