Is it possible to make a link that does nothing?
I want the item to be a link so I get the cursor to change on mouseover, but I don\'t want the link to actually go anywhe
Here are two classic JavaScript approaches that won't give you an error in your JavaScript console and/or don't change the URL nor save it to your browser history:
Click on this JavaScript error-free link that won't change your URL nor save it into your browser history Maybe a more readable approach, but unfortunately this one changes your URL