I know this should be easy stuff, but for some reason the click event is still firing for the element that has a "selected" class.
Can anyone spot the problem with this line?
h.find("li a").not("li a.selected").click(function () {
$(function() {
$('div:not[.someclass]').click(function() {
// do stuff
});
});