We often use <a href=”javascript:void(0)”> in buttons to avoid the buttons from navigating to another page or do some action. However, Google Chrome recently updated their browser and doesn’t support this function anymore. To solve this, we can use <a onclick=”return false;”> instead.