Did you try:

$('div:not(:hidden) .required').each(...

> get all elements that have the class 'required' as long as the
> container does not have the class 'hidden' but sometimes there are
> loads of nested elements so its not always the parent as such. I've
> tried 'filter' and 'not' but with success, anyone got any ideas (it
> may be my syntax)?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to