How to select all text in textbox when it gets focus?

  • Thread starter Thread starter guy
  • Start date Start date
try using javascript, something like this should do it.............

onClick="javascript:this.form.text_box_name.focus();this.form.text_box_name.
select();">

just a guess mind you...........
--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP


guy said:
Is it possible to select all text in a asp text box when it gets focus?
How?
 
Back
Top