I want to select all items that have a specific passkey.
I know I can do this: $('[accesskey]') , but it gives me a lot of inputs, hrefs, etc. on the page (most of them have an empty access key).
How can I select only those elements where the access key really matters?
Edit: I found the reason for the empty access keys, was called by some old javascript functions to disable / restore accesskeys over several modal dialogs. Usually you wonβt get as many elements with blank keys as sub>
Erik dekker
source share