I have a huge jQuery application, and I\'m using the below two methods for click events.
First method
Well, one of the main ideas behind jQuery is to separate JavaScript from the nasty HTML code. The first method is the way to go.