Ignore all hidden div but not one in jQuery validation December 9, 2023 by Tarik You can use the :not() selector: ignore: ":hidden:not(.my_item)"