Get only the elements which are not hidden.. Jquery
<p>I need to get only the show() element in jquery foreach loop</p>

<p>In the below code i am getting all the element with class test (i.e) both hidden and shown...  but need only shown and not hidden one... how to filter and get that in this line itself????? </p>

<pre><code>$('.element').find('.test').each(function(index, loopelement) {

 }
</code></pre>
