how to put pointer events in javascript code example Example: pointer events none javascript document.getElementById("id").style.pointerEvents = "none";