How to reload this plugin after ajax request?
$('#id_input').keyup(function(e){
let url = index_url;
$.ajax({
type: "POST",
url: url,
data: {
'input': $('#id_input').val(),
'offer_type': $('#id_offer_type').val(),
'category': $('#id_category').val()
},
success: function (data) {
$('#offer-objects').html(data);
},
complete: function(){
SwiperReload();
},
});
});
Something like that. If recaptcha is inside div with ID offer objects (#offerobjects) it does not load after ajax request finished (inside success function).
Any ideas?
How to reload this plugin after ajax request?
Something like that. If recaptcha is inside div with ID offer objects (#offerobjects) it does not load after ajax request finished (inside success function).
Any ideas?