We would like to know how to disable anchor click event.
<!DOCTYPE html>
<html>
<head>
</head><!-- w ww .ja v a 2 s . com-->
<body>
<a href="http://www.google.com" target="_blank"
onclick="javascript:alert('Navigation Prevented'); return false;">CLICK
HERE FOR GOOGLE</a>
</body>
</html>
The code above is rendered as follows: