I have a conflict with calling the general jQuery click function and so I need to call an onclick event on the HTML element itself while still being able to use $(this)
you can pass this element as parameter:
this
onclick="thisFunction($(this));"
and on function recieve it as element:
function thisFunction(element) { $this = element; //use it here }