How can I filter a list of items using jquery's .each()?
<p>When using .each(), is there a way to filter the elements it examines?</p>

<p>Currently, this is what I have: given a list of elements, I only want to examine inputs.</p>

<blockquote>
<pre><code>$.each (Items, function(i, item) {
    if (item.is("input"))
        (do something)
});
</code></pre>
</blockquote>
