Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged log

« Prev 1 Next »
// create a variable to toggle debugging // to use it, just call debug(with,any,optional,parameters) debug(x,y,z); // it will try to guess what type of message to log, or you can specify in the first parameter debug("error",x,y,z);
1 114 posted 4 years ago by brandonjp
IE doesn't like console.log. This fixes that.
1 79 posted 7 years ago by bitsculptor
generischer Handler für die Eventausgabe in der Konsole....
0 89 posted 7 years ago by dejot
Helps to manage console.log debug in js when broswing in IE. If alertFallback is enabled, you can see js alerts appears of vars tracked.
0 77 posted 8 years ago by Simounet
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0 51 posted 9 years ago by alvincrespo
Activation: con Scope: source.js, source.js.jquery
0 51 posted 9 years ago by divtagged
1 90 posted 9 years ago by tennison
Use to debug javascript in all browsers.
0 47 posted 10 years ago by Meander365
8 140 posted 12 years ago by mdi
« Prev 1 Next »