[jQuery] grab parameters from function
<div id="h1">
<a href="" onClick="showIt(first,second,third);">Click me</a>
</div>
Is it possible to grab the first,second,third parameters of the showIt
function above so that I can pass the same parameters to another
function?
I managed to get the event itself using:
$("div.hitarea").next().attr("onclick")
but I don't know how to continue...