selecting portion of textarea/input

S

Sandman

I bet this has been asked before, but here goes.

How do I set or get the highlight of a text in a textarea? The obvious use of
this is having the user highlighting a portion of the text and pressing the
"bold"-button which will insert <b> and </b> around the text.

Can this be done?
 
S

Sandman

DJ WIce said:
: I bet this has been asked before, but here goes.

If you think so use google groups;

I did, and didn't find anything good. Which is why I posted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top