Thats fantastic, I had no idea you could do that! You have just made my day thanks Mike :)
On 20/03/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > 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 > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/