var visID = $('div.subNav:visible').attr('id');
On May 15, 10:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a number of DIVs with class = "subNav". How do I write a > Jquery expression to tell me the ID of the DIV with class "subNav" > whose display element is not "none" (i.e. "block")? > > Thanks, - Dave