get text inside of a td, span, div…etc

If you want to click on a piece of html text inside a td, span, div, p…etc, you’d use jQuery’s on method: