The difference between left and right mouse button in IE and Firefox

Using JavaScript, how can I distinguish between left and right mouse buttons by clicking in IE and Firefox? Do I need to do something different between these two browsers?

+4
source share
1 answer

use the onclick and oncontextmenu for left-clicks and right-click, respectively.

+2
source

All Articles