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

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top