How can I print a message to the error console, preferably including a variable?
For example, something like:
print(\'x=%d\', x);
console.log("your message here");
working for me.. i'm searching for this.. i used Firefox. here is my Script.
$('document').ready(function() { console.log('all images are loaded'); });
works in Firefox and Chrome.