If your code example is the exact code you’re using, I think the problem is an errant space.
$("#para :not([attr_all])")
should be
$("#para:not([attr_all])")
If you leave a space in there, it selects descendants of #para.
If your code example is the exact code you’re using, I think the problem is an errant space.
$("#para :not([attr_all])")
should be
$("#para:not([attr_all])")
If you leave a space in there, it selects descendants of #para.