jquery firebug log


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. jQuery.fn.log = function (msg) {
  2. console.log("%s: %o", msg, this);
  3. return this;
  4. };

URL: http://ajaxian.com/archives/jquery-logging

Report this snippet


Comments


You need to login to view comments.