[Javascript] User Experience: mousedown vs click

Mike Dougherty mdougherty at pbp.com
Tue Jul 12 13:12:02 CDT 2005


Technically, yes.  I personally like the mousedown firing my action.  I wonder if the average web 
user would be aware of the difference from one site/page/button to another.

On Tue, 12 Jul 2005 20:01:08 +0200
  "Troy III Ajnej" <trojani2000 at hotmail.com> wrote:
> Yes the mousedown event will get fired imediatly when the mousebutton is pressed and you will 
>not be able to escape from it being executed, while the click event will get fired only after the 
>press and the release over the same element has ocurred. That means that for some reason, if 
>you've mousedowned over some element but you've decided not to finish your click on that element, 
>you can move away from this click element while holding mousebutton and release it outside, so 
>the event never gets fired. That's why tere are mousedown and click event kept it the collection. 
>Because even if they are very similar they act rather differently.



More information about the Javascript mailing list