Skip to content

jQuery plugin that combines find and filter functions to extract all objects that match the selector regardless of jQuery object structure

Notifications You must be signed in to change notification settings

monir/jquery-exfiltrate-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

jquery-exfiltrate-plugin

by Monir Mamoun

an embarrassingly simple, yet extraordinary handy plugin, that combines the filter function (which returns only top level elements matching the selector) and find function (which returns only descendent elements matching the selector) into one handy call. Useful for exfiltrating matching elements when jquery object DOM/nesting structure is unknown or mixed

i searched all over for this kind of function... not sure why it does not exist... it seems very handy if you are manipulating a bunch of jquery objects and don't know their level in the hierarchy. not sure why jquery does not make it more straightforward.

About

jQuery plugin that combines find and filter functions to extract all objects that match the selector regardless of jQuery object structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published