Forum Moderators: open
<a id="foo" href="example.html" onClick="javascript:intercept('foo')">Click me!</a>
If the visitor doesn't have javascript enabled, they click through to example.html as expected.
However, if they have Javascript, I want the intercept function to force the browser to ignore the request to load example.html.
Is this possible?