Mark Gibson wrote:
>> I've adapted the console.js script originally found here:
>> http://wish.hu/firebug-on-explorer
>> 
>> Added pretty dumps of objects, arrays, elements, etc.
>> 
>> My new script can be fetched from here:
>> http://jollytoad.googlepages.com/browsercompatibility

Andy Matthews wrote:
 > Interesting. How is it used?

console.log(some_variable);

It's a better alternative to lots of nasty alert()'s
when debugging javascript.

It's roughly based on Joe Hewitt's fantastic Firebug
extension for Firefox:
http://www.joehewitt.com/software/firebug/

He introduced an object called console, which allows
logging various useful stuff.
If you haven't tried it, go get it now you wont know
how you lived without it:
https://addons.mozilla.org/firefox/1843/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to