Forum Moderators: open

Message Too Old, No Replies

onClick works for left clicks but what about right clicks?

onclick right click

         

wargamez

12:09 am on May 25, 2006 (gmt 0)

10+ Year Member



Hello,

If I put the onclick event on a html link it catches the left clicks - how can I do the same with right clicks on the link?

eg. <a href="#" onMouseClick="alert('test')>link</a>

Regards,
Josh

wargamez

12:57 am on May 25, 2006 (gmt 0)

10+ Year Member



I'll answer my own question:

Use onContentMenu

Josh