Dynamitaclly added HTML in JQUERY class events not working

So I did this


It seems fine but the on click events is not working

this class won't work

dt class= "c-faqList__dt"

Code for the JS

var dfd = new $.Deferred();
var self = this;
self.$elm = elm;


return dfd.promise();

Answers 1

  • try something like this:


    assumption: .c-faqList__dt is inside div#faq_search_result

Related Articles