I want to get all the access keys that are on the button or link. I have the following.
$(":button[accesskey!=''], :a[accesskey!='']").each(function(i) {
You can see it here http://jsfiddle.net/QNPZU/
I thought you could have multiple selectors separated by a comma, but the code above does not work.
If i do
$(":*[accesskey!='']").each(function(i) {
it will work, but I suppose there will be a performance problem if dom is huge?
source share