Snigdha Keshariya

What Does javascript:void(0); Mean?

Developers use javascript:void(0) in hyperlinks to prevent the browser default action, like navigating to a new page. The void operator makes sure that the link returns undefined, stopping the page from reloading or changing when clicked. In this article, let’s understand this in the simplest way possible. What Is javascript:void(0) Let’s break the word “javascript:void(0)”

What Does javascript:void(0); Mean? Read More »