Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cursor loacation in textfields

Status
Not open for further replies.

wuah

Programmer
Mar 15, 2001
42
DK
Is there anyway to measure/get the cursor location in a form-textfield if I, for instance, want to place some text from another textfield in the the first textfield using javaScript?
That is... - If I want to place a line of text in the main textfield between (let's say) word 3 and 4 (the cursor location) from another textfield - and NOT at the end of the text in the main textfield, which I already can manage...

Any sugestions?

Greetings RAsmus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top