Saturday, March 12, 2016

javascript - document.getElementById(); returns null on an id that definitely exists

Does anyone know why document.getElementById("closebtn"); returns null? I have tried console.logging it, and i just get null. I am using node.js and Electron














No comments:

Post a Comment