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
It also allows you to bind the same anonymous method to multiple events like:
$("p").bind("click dblclick mouseover mouseout", function(){ some other code here });