View Full Version : disable a click

03-18-2006, 05:48 PM
I want to disable the clicking of a link but enable right click.

But a Mac is different?

How to achieve this with Js

Bill Posters
03-19-2006, 08:41 AM
<a href="" onclick="return false">link</a>

This should negate the normal click for all js-enabled browsers without effecting the browser's own contextual menu.