Answer the question
In order to leave comments, you need to log in
Why doesn't af_complete AjaxForm work?
I welcome everyone!
I'm trying to add a class.
The form sends everything, everything works, I try to add a class to the button.
$(document).on('af_complete', function(event,res) {
if(res.success){
$('.btn-close').addClass("class-bss");
response.message='';
}
});
Answer the question
In order to leave comments, you need to log in
Where to add? how to add? Please show the full code of the page, does jQuery work, does the ajaxForm script work? Where and in what order?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question