0
what is Unable to get property 'style' of undefined or null reference error and why am i getting it often
I am creating a game but whenever I try to use the document.getElementById("top_left").style (top_left is an id for a table cell) I get this error "Unable to get property 'style' of undefined or null reference"
3 Respuestas
+ 16
onload = function() {
//code
};
//make sure html loads first...
+ 1
it worked
0
alright I will try