Using jquery $.each with multiple selectors
<p>I want get all the accesskeys that are on a button or link. I have the following.</p>

<pre><code>$(":button[accesskey!=''], :a[accesskey!='']").each(function(i) {
 //code
});
</code></pre>

<p>You can see it here <a href="http://jsfiddle.net/QNPZU/" rel="nofollow">http://jsfiddle.net/QNPZU/</a></p>

<p>I thought you could have multiple selectors by separating them using a comma but the above code does not work.</p>

<p>If I do </p>

<pre><code>$(":*[accesskey!='']").each(function(i) {
 //code
});
</code></pre>

<p>it will work, but I take it there will be a performance problem if the dom is huge?</p>
