Ignore all hidden div but not one in jQuery validation

You can use the :not() selector:

ignore: ":hidden:not(.my_item)"

Leave a Comment