Just curious about which of these would be faster?
$('ul.dropdown a').first().click(function(event) {
event.stopPropagation();
return false;
});
or
$('.dropdown > li > a').click(function(event) {
event.preventDefault();
});
Is there any difference?