Answers for "jquery call dynamically created class"

0

jquery call dynamically created class

instead of this:
$(".editBtn").on("click", function(){
  //do something
});

use this;
$("body").on("click", ".editBtn", function(){
  //do something
});
Posted by: Guest on September-27-2021

Code answers related to "jquery call dynamically created class"

Code answers related to "Javascript"

Browse Popular Code Answers by Language