I wanted to add some code on clicking of a Div element with id "div_click1". For that I added following code to my custom js
document.getElementById("#div_click1").addEventListener('click', function(){
// code
},false)
I did not see any error because of this code till I had to reinstall wamp.
I tried fixes suggested for similar issues but though they stopped the issue but also made it do nothing when the div was clicked.
Will appreciate any help on the topic. Thanks!!