this is just an example
e.g: let said i selected word “this” and clicks “Highlight” button, then the word “this” will be highlighted, by how to do that?
*updated–so basically “this is just an example” is html contents, what i want to do is highlight any words by clicks a button, and then copy the highlighted words as my summary
for example i selected “this” by mouse, than i clicks “Highlight” button, then “this” will be highlighted, further more when i clicks another button “copy”, all highlighted word will be copy to another page as summary
anyway==the sample that i provided is just an normal content, cant really help in highlight, and what i want to know is how to highlight by button clicks =(
I know there’s a jQuery framework that does this: