I am trying to bind all of the a
elements on a page except for those with the title attribute of on. The code below ends up not attaching the click event to any of the a
elements on the page. If I remove the not it works but of course binds to a
elements I do not want the code applied to. What am I doing wrong with the not selector?
$(document).ready(function() {
$('a').not('title=on').live('click', function(event) { ... });
});