Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7220, comment 3


Ignore:
Timestamp:
Oct 21, 2010, 8:58:12 PM (11 years ago)
Author:
cowboy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7220, comment 3

    initial v1  
    33{{{
    44$.fn.logSelector = function() {
    5     return this.append( this.selector + '<br/>' );
     5    var elem = this.length ? this : $('body');
     6    elem.append( this.selector + ' [' + this.length + ']<br/>' );
     7    return this;
    68};
    79}}}