var id = $('div.subNav').filter(function() { return $ (this).css('display') == 'block'; }).attr('id');
(untested) --Klaus On 15 Mai, 23:28, "[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