I have some text displayed on a web page (say in span element) and I have added `onclick` event and can capture the entire field when a user clicks it.
But my question is 'how can I detect when it is a click on the string?'