3 ms·
I think for me I've always just returned false unless their was some specific reason not to, which hasn't come up overly often. But yeah it could be something t
by robryan 16y ago
I think for me I've always just returned false unless their was some specific reason not to, which hasn't come up overly often. But yeah it could be something that is confusing when it comes back to reviewing code down the track.
- pilif 16y agothe problem is that if there's just one "return false" somwhere in your app, then you make it impossible to react to the same event somehwere else. live() and delegate() stop working too. Once your application gets big enough, finding that one return false can be really painful, especially as browsers don't really help with their debug tools to show you what handlers are bound to which events of which elements (I know that there's some event handler debugging support, but it doesn't play well with jquery)