If you don’t want users to navigate to another URL when they click on a HTML link in an anchor tag, you need to create a Null HTML link in the anchor tag. This may be useful if you want to perform some other action in the click event. You can create an Null link by doing the following:
Don't navigate
Instead of navigation, you can then perform an action on other events, say the click event.
