I\'m stuck on figuring out the logic to make a drop down menu keyboard accessible.
The HTML is structured as such (extra class names used for clarity):
Try this
$('li.primaryMenuItem:last li a:last').blur([do whatever you need to do])
Logically, if your user tabs out he must have been focusing the last anchor.
You could even set up your own event handler like so:
$('li.primaryMenuItem:last').bind('myblur', function() ...);
and call it within the last anchors blur event:
...blur(function() {
$(this).parents('li.primaryMenuItem').trigger('myblur'); ...