Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delegate click in jquery

.delegate() has been deprecated

Instead use : 
$( "table" ).on( "click", "td", function() {
  $( this ).toggleClass( "chosen" );
});
 
PREVIOUS NEXT
Tagged: #delegate #click #jquery
ADD COMMENT
Topic
Name
5+1 =