$('#myotherelement:hidden').show(); $('#myotherelement:visible').hide(); On Mon, Mar 3, 2008 at 2:07 PM, otherjohn <[EMAIL PROTECTED]> wrote: > > ok, > I have 2 elements that use the .toggle function to hide and show > themselves. But I would like, when each is clicked, for it to test if > the other element is currently showing and hide it and vice versa. Can > someone help me find how to do that? > John >
-- Alexandre Plennevaux LAb[au] http://www.lab-au.com