Have to tried ':visible' selector? $('.hidden:visible').slideUp("fast");
- jake On 3/28/07, Alex Ezell <[EMAIL PROTECTED]> wrote:
I faced a similar issue with a project I was working on. I never found a solution. Of course, I also never bothered to post here (consider me easily distracted). I'll be interested to see what the solution is. /alex On 3/28/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > I've got a series of rows of data, some of which can be expanded to > show additional information. I'd like to hide any open row before showing a > new one. I've tried hiding all of them (or sliding up) but the display goes > wonky because most of them are NOT open. > > This is what a row looks like: > <div id="specials-123456-details" class="hidden"></div> > or > <div id="newInv-997845-details" class="hidden"></div> > > I'm using slideToggle to open the row: > $(child).html(data).slideToggle("fast"); > > and I've tried hiding them like so: > $('.hidden').slideUp(); > > and > > $('.hidden').hide(); > > So I'm wondering, how can I get ONLY the ones that are open already? > > > * **____________________________________* > *** * > *Andy Matthews > *Senior Coldfusion Developer > > Office: 877.707.5467 x747 > Direct: 615.627.9747 > Fax: 615.467.6249 > [EMAIL PROTECTED] > www.dealerskins.com > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/