I have a simple text box with value: "Write in here"
How can I delete the value of the text box when the mouse click on the text box in order to write in it?
Thanks
I have a simple text box with value: "Write in here"
How can I delete the value of the text box when the mouse click on the text box in order to write in it?
Thanks
Last edited by d-machine; 03-08-2009 at 12:07 PM.
Code:<input type="text" value="Write in here" onfocus="if(this.value == 'Write in here') this.value = '';">
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
d-machine (03-08-2009)
Thank you very much!
Bookmarks