Ⓙⓐⓚⓔ schrieb:
> Mike, I don't like breaking the chains... I just insert a debug in the
> middle of the chain...
>
> I use this for my debug:
I just took a look at Firebug lite, it is really worth it's bytes. At 
least in IE it works fine, and you can use format log statements like this:

console.log("selector: %s jQuery: %o", "abc", $("abc"));

In FF, you can still click the jQuery object to see details, something 
that isn't possible if you do a manual concatenation:

console.log("selector: " + "abc" + " jQuery: " + $("abc"));

-- 
Jörn Zaefferer

http://bassistance.de


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

Reply via email to