Search

4/14/2009

simple console alternatives for ie


if(typeof console == 'undefined') {
console = {};
console.log = console.dir = function() {
window.status = YAHOO.lang.dump([].slice.call(arguments));
}
}

沒有留言: