Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML set focus after text in textbox

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic