jQuery Logging
FireBug Console에 jQuery룰 확장하여 로깅을 할 수 있습니다. 예제는 아래와 같습니다.
jQuery.fn.log = function (msg) {
console.log("%s: %o", msg, this);
return this;
};
실 사용 예 :$(root).find('li.source > input:checkbox')
.log("sources to uncheck").removeAttr("checked");
- 참고 사이트 : http://happygiraffe.net/blog/articles/2007/09/26/jquery-logging








