KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel