Hmmm. If you have a fairly complex page, this could be slow, but here's one idea:

An "array-like" jQuery object of all visible elements:

 $(':visible');

An actual array of all visible elements:

$.makeArray( $(':visible') );



--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Dec 13, 2007, at 4:56 PM, Goon wrote:


how would you create an array of all visible elements (excluding
hidden elements)?

Reply via email to