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