$('[name^="field_"][type="checkbox"]');
Above gives the list of checkboxes with name that start with field_
.
How can I get all the checkboxes that does not start with field_
Any help is appreciated.
$('[type="checkbox"]:not([name^="field_"])');
Lets say we want all "a" tags which do not have class starting with "comment". This is what you will call
$('a:not([class^="comment"])')
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