aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes HTML set focus after text in textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "HTML set focus after text in textbox" Watch "HTML set focus after text in textbox" New topic
Author

HTML set focus after text in textbox

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 203
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
 
Don't get me started about those stupid light bulbs.
 
subject: HTML set focus after text in textbox
 
Similar Threads
retaining value in java script
Print form data in Netscape
tabbing in Netscape
Hiding a popup span with onblur
how to send dynamic values to a page by using a hyperlink