we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "jquery call dynamically created class"
Giulio
08 Aug 2018
1instead of this:
2$(".editBtn").on("click", function(){
3  //do something
4});
5
6use this;
7$("body").on("click", ".editBtn", function(){
8  //do something
9});
similar questions
queries leading to this page
jquery call dynamically created class