document.getElementById("nothing").addEventListener("click", function(event){ event.preventDefault() });