var errorFields = $('li:has(span[controltovalidate]) input:visible'); doesn't work for you?
On Jul 1, 9:41 am, Sean <seanmay...@gmail.com> wrote: > This works > var errorFields = $('li:has(span[controltovalidate]) input'); > > but I need to only select those that are visible > > style="visibility:visible" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---