Syntax - how to add eq(i) to variable?
<p>I'm desperately trying to combine <code>element</code> with the index-selector <code>eq()</code>.
Is there anything wrong with the syntax?</p>

<pre><code>function setVisibleRange(element) {
    for ( -- something with i -- ) {};
     $(element:eq(i).show();
};

setVisibleRange($("ul li")); 
</code></pre>

<p>Btw, is there a better way to adress a Range of elements? Something like <code>eq(0, 4)</code>? The for-loop is just a workaround.</p>

<p>Thank you</p>
