Smooth-Div-Scroll icon indicating copy to clipboard operation
Smooth-Div-Scroll copied to clipboard

Add option to search by find instead of children for countOnlyClass

Open stpanzer opened this issue 11 years ago • 0 comments

It'd be really nice to be able to search all children for a specific class instead of just the first level, especially in circumstances where complete control over html isn't really possible.

Make the option something like:

countOnlyClass: {class : 'class-name', findby : 'children' }

or

countOnlyClass: {class : 'class-name', findby : 'find' }

stpanzer avatar Dec 28 '13 00:12 stpanzer