var id = $("div.policy:visible").attr("id");

- jake

On Mon, Apr 14, 2008 at 11:57 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  I have a number of DIVS of class = "policy" on my page.  At any one
>  time, only one will be displayed, that is, have the CSS "display"
>  attribute set to "block".  How can I write a JQuery expression to find
>  the ID of such a DIV?
>
>  Thanks, - Dave
>

Reply via email to