[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Javascript and selected text in widget
Is it possible to figure out what (if any) text is selected in a textarea
or input widget via Javascript?
I'd like to be able to let a user select some text and then apply some
formatting to the selected text (i.e. highlight text, select the "bold"
button).
Thanks,
Bret
______________________________________________________________________________
Bret A. Schuhmacher Email: bas@wn.com
Technical Director, WebNet Technologies WWW: http://www.wn.com
Voice/Fax: (214) 821-0848 Pager: (214) 816-0283
______________________________________________________________________________