In JQuery when should you use .bind() over .click() - or any other given event?

bind, jquery, jquery-events

Solution

They're effectively the same. However, using `bind()` allows you to make use of namespaced events. This is especially useful when writing plugins.

Problem

I understand the difference between Live and Bind but when should I use use `.bind()` over a 'standard' event method as shown below. Are there any key differences in the way these two calls work? ``` $('.clickme').bind('click', function() { // Handler called. }); $('.clickme').click(function() { // Handler called. }); ```

Original source

Related problems