Is there a way I can use a jQuery selector like :empty or :not(:checked) on an input/textarea/select element, or any other way I can return an object that is empty?
Is there a way I can use a jQuery selector like :empty or :not(:checked)
Share
I’m not entirely clear, but I think you’re looking for input controls that have no value entered by the user? There’s no explicit selector/filter for that, but…
You can build a custom filter by using the
.filter()function on your result set. Try something like: