In jQuery it's possible to select all elements that start/end with "something".
= is exactly equal
!= is not equal
^= starts with
$= ends with
Is it possible to select all elements that don't start/end with "something"?
Use the :not
selector:
:not([id^=foo])
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With