delegate to all TDs without all with attribute enabled="false"

delegate to all TDs without all with attribute enabled="false"

hello, i'm using this code:
  1. $("#mydiv tr:not(#tableheader)").delegate("td:not([enabled=false])", "click", function(){
  2.         alert($(this).html());
  3. })
but it doesn't seem to work. What am I doing wrong?