/ Published in: jQuery
Expand |
Embed | Plain Text
//para debugear con mensajes $.log = function(message) { if(window.console) { console.debug(message); } else { alert(message); } }; //para hacer un alert del objeto $.fn.debug = function() { return this.each(function(){ if(window.console) { console.debug(this); } else { alert(this); } }); };
You need to login to post a comment.
