I would like to know the difference between this:
$('#foo').click(function() {
alert('User clicked on "foo."');
});
and this
$('#foo').bind('click', function() {
alert('User clicked on "foo."');
});
(I read the documentation but I'm still not getting it).