There is something like this:
<tr onclick="console.log($(this));">
I know its bad but its a legacy code. I would like to get the reference of this TR but this:
<tr onclick="console.log($(this));">
Nor this:
<tr onclick="console.log(this);">
Works, it thinks that this is <tr onclick="
event itself.