Sometimes Firefox generates console not defined error when console.debug() is used. Is this some kind of timing issue with load?
+1
A:
I cannot tell you why, but window.console.debug()
should always work(assuming there is a console-object in global scope). I've also noticed this behaviour the last time, since that I allways use window.console
instead of console
.
Dr.Molle
2010-10-27 21:05:10