I am trying to add a click event to a LI element but it is not firing in the page. My page markup looks like:
I did the same thing as @Parrots and it works for me. You might, however, want to change your selector to:
$("#Navigation li[title]" ).live('click', function(e) {
e.preventDefault;
this.blur();
return updateNavigation($(this).attr('title'));
});
So that the handler is only applied to elements that have a title attribute.