onclick question

hope this isnt a dumb one

i have gotten code to work where i can search a page and highlight all occurrences of a word based on an assigned variable (search_var = “test”:wink:

but does anyone know if theres an onclick or onmouseup function where i can make it so if u click or highlight some text out of an array of words it is then passed into search ( var search_var) or something

is this even possible?

i don’t really understand the question

Sponsor our Newsletter | Privacy Policy | Terms of Service