Delegieren klicken Sie in JQuery

.delegate() has been deprecated

Instead use : 
$( "table" ).on( "click", "td", function() {
  $( this ).toggleClass( "chosen" );
});
Virali Thaker