This question might seem trivial but I really need to get the hang of it. Any help regarding this is greatly appreciated.
<span class="first">This thing</span>
$(.first).click(function() {});
Until now I have been using this. But due to some coding constraints, I was told to change the span from a jQuery binding to an onClick. I am unable to follow exactly what they meant by that... Could any help me figure this out and if possible throw a better light on the differences between jQuery binding and onClick binding. Any help in this regard is greatly appreciated. Thanks a lot !