Javascript Event Listeners Not Firing For Drag And Drop
I have a page where I am adding a page level dropzone. And to do that, I have added some event listeners as below. var dropZone = document.getElementById('dropZone'); window.addEv
Solution 1:
Turns out, there was nothing wrong with my code. It was just chrome being weird. I disabled adblocker, restarted chrome. Nothing worked. Checked google drive and it had same issue.
So, finally I restarted the PC to make sure Chrome is restarted properly. And everything is suddenly working again. SMH.
Post a Comment for "Javascript Event Listeners Not Firing For Drag And Drop"