What is the difference between the following lines of code, or are they just 2 different ways to write the same thing:

$("p").click(function() { some code here });

$("p").bind("click", function(){ some other code here });

Am I over simplifying this? Because if you wanted to bind more than one event you could just chain the events, correct?

Edit
Report