Tagged: void

0

href javascript ; void 0

The void operator is often used to obtain the undefined primitive value. <a href=”javascript:void(0);”> Click Me </a> In this case, it is used to avoid # in the URI bar. The hrefs value will...