Highlighting text on tabing or clicking in field

windows

Guest
Hi there<br />
<br />
I am looking to find out how you highlight the intial text in a form if you tab from the previous box, the box after or even if you click anywhere on the text box. In a couple of text boxes i have on a form there is a place for a description and inside i have put an initial value to help people fill out the right info. I need the text to bo highlighted when entering these boxes to save the using having to delete the initial stuff.<br />
<br />
Cheers<br />
Scott<!--content--><input type="text" name="your_name" value="your text" onFocus="select();"><!--content-->
 
Back
Top