How to highlight (change background color) of selected text within a text area

O

omidalavi

I want to create a functionality to be able to highlight - change
background color - of selected text in a text area. I also want to
capture all of the selected text for further processing.

If this is not possible in a textarea, then I use another element (like
a <DIV>)

basically I need to ba able to highlight multiple sections of a text
and then display all of the highlighted text somewhere else.
 

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
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top