finding out if console is available

Check the property exists as a member of window:

if (window.console) {
}

next to that problem i am interested in all informations about the console object. has anybody some documentation link, or so? is it a standard? and so on…

Check out the Firebug documentation for the Console API; Chrome and Safari implement most, but not all, of the methods listed there. There’s no standard defining what should be in the console, so you’ll need to test each browser to see if it supports the feature.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)