Re: Deselecting text in input text box



there is one solution, but its not really javascript

here's the code so u get the idea

<div style="width:200px; border:1px solid black; text-align:left">
<div style="width:200px; height:40px; position:relative; top:40px;
background:">&nbsp;</div>
<input type="text" value="value not to be selected" style="width:200px;
height:40px">
</div>

.