Because of different reasons I can NOT use $(\'.class\').click or on(\'click\', function..)
So I really have to use the onclick=\"\" event from the html element.
Add this as an argument to the inline event handler:
this
CLICK HERE
Then use the className property of element to get the className
className
function someFunction(e,abc) { console.log(this); alert(e.className); }
Working Example http://jsfiddle.net/Aw8Rb/8/