Hey guys,

I require detecting what button of the mouse was pressed by the user ...
I have the event handlers for mouseup and mousedown.

Now, IE gives provides you event.button and FF gives event.which (or
vice-versa)

Say, event.button gives me a different value on both IE and FF !!

Now, i need a generic constant for all the browsers ....
is there a method on event object tat wud give me same value for left,right
and middle click ??

Thanks,


-- 
Regards,

Ankit P.Mody

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to