javascript

This category contains 1 post

jQuery don’t use Bind, Live or Delegate

jQuery Bind: Attach a handler to an event for the elements. How to use: $(‘button’).bind(‘click’, function() { alert(‘User clicked on "button."’); }); jQuery Live: Attach an event handler for all elements which match the current selector, now and in the future. How to use: $(‘button’).bind(‘click’, function() { alert(‘User clicked on "button."’); }); jQuery Delegate: Attach […]