I have a huge jQuery application, and I\'m using the below two methods for click events.
First method
You could combine them, use jQuery to bind the function to the click
Some Content $('#myDiv').click(divFunction); function divFunction(){ //some code }