Last active
December 19, 2015 14:09
-
-
Save dustintheweb/5967196 to your computer and use it in GitHub Desktop.
Select all element multiples, beyond the ones you want to retain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// >> jQuery - select all element multiples, beyond the ones you want to retain >>>>>>>>>>>>>>>> | |
$('.someElement').find('ul li+li').hide(); | |
// li+li+li | |
// li+li+li+li, etc | |
// same syntax as css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment