To select all children but a specific ID of a query, this would work:
$('.yourClass').children(':not(#idNotWanted)')
How would you select for additional not wanted IDs?
Here are some attempts thus far:
$('.yourClass').children(':not(#idNotWanted)' || ':not(#idNotWanted2)')
$('.yourClass').children(':not(#idNotWanted) || :not(#idNotWanted2)')
$('.yourClass').children(':not(#idNotWanted)' && ':not(#idNotWanted2)')
$('.yourClass').children(':not(#idNotWanted) && :not(#idNotWanted2)')`
Do the selector queries need to be assigned to an array, then remove the ID cases? or something else?
You could either do this:
Or, the better way, like this:
Separate your IDs with a comma inside your
:not()selector. From the documentation;