Making individual words / characters clickable by javascript

I am somewhat of a novice when it comes to Javascript, and I cannot find an answer to this question (or perhaps I am not searching for the right terms). Is there a way to make a single word or character in an HTML < p > tag clickable so that a javascript function can act upon just that word or character, not the whole < p > tag?

thanks for the help.



from Recent Questions - Stack Overflow https://ift.tt/3sqyayH
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)