Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML set focus after text in textbox  RSS feed

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have text in a HTML text box,

Is there any way to set that the cursor be set after the text in a text box?

i.e. lets say the text in the text box is "text" and the user clicks on an anchor link "goToText",

When the user clicks on "goToHere" the cursor goes to the text box and the cursor is at the end of the text "text"?

Thanks in Advance,

Niall
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!