+ 1
Javascript console doesn't work properly
I don't know if you faced this problem before but sometimes or more often. I find some difficulty using javascript console. Sometimes even if my code is written properly, it said that something is not defined or show up others error and that's very disappointing because then I try to cut and paste the same code in a script tag inside HTML and then it works properly.
1 Odpowiedź
+ 1
There is definitely no such thing as the console "not working". The problem probably is when trying to access elements in the DOM. Use the load event. You can do it.