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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieve value of selected text

Status
Not open for further replies.

MatthewP

Programmer
Jan 16, 2001
176
GB
Hi,

I want to retrieve the value of any text that the user selects in a textarea field. I saw this done somewhere before, but I can't remember where. I do know that it was for IE or IE5 only though, which is fine.

The script I saw also updated the selected text in the field (added capital letters etc) - if anyone can point me in the right direction for some info on this I'd be hugely grateful.

Cheers,
Matt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top