This content has been marked as final. Show 2 replies
The code which you have given here is only responsible for putting focus on inputtext.But you want to place cursor at end of the input text for this you have to some write more java script.
Link is following
BTW you can find more example on google.