You can use the jQuery filters :hidden and :visible cheers
Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make sense, conform to your experience, and don't harm yourself or others, only then should you accept them.' From: Tom Worster <f...@thefsb.org> To: "jquery-en@googlegroups.com" <jquery-en@googlegroups.com> Date: 04/27/2009 10:33 AM Subject: [jQuery] reading show/hide state when using show() and hide(), what's the right way for the script to read the state of the element? i've found that attr('display') can be used but this seems like an undocumented hack and could fail in future releases of jquery.
<<inline: graycol.gif>>
<<inline: ecblank.gif>>