This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML set focus after text in textbox

 
Niall Loughnane
Ranch Hand
Posts: 208
  • 0
  • 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