Doing complex queries with jQuery
<p>How do I query with jQuery for any <code>DIV</code> element that is <code>visible</code>, has <code>z-index &gt; 0</code> and <code>id != ""</code>.</p>

<p>I currently do a raw linear search using <code>document.getElementsByTagName</code> but I have been told that it's excessively performance-impacting. On a page with 400+ divs it takes quite a lot of time to perform.</p>

<p>Somebody told me that with jQuery you can perform more complex queries. Is that possible?</p>

<p>Please bear in mind that I have absolutely no control over IDs of these popup DIVs so I can't work on "well-known" IDs.</p>

<p>Thank you.</p>
