You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by lethunder December 9, 2023
Hello guys,
all preline js components like tabs inside a page i hide and show with ajax and append to DOM are no more working. How do i initialize preline in jquery on ajax:success
Exemple code
$(document).on('ajax:success', ".display-in-offcanvas-js", function (event) {
var detail = event.detail;
var data = detail[0].body.innerHTML, status = detail[1], xhr = detail[2];
Discussed in #208
Originally posted by lethunder December 9, 2023
Hello guys,
all preline js components like tabs inside a page i hide and show with ajax and append to DOM are no more working. How do i initialize preline in jquery on ajax:success
Exemple code
$(document).on('ajax:success', ".display-in-offcanvas-js", function (event) {
var detail = event.detail;
var data = detail[0].body.innerHTML, status = detail[1], xhr = detail[2];
$(".application-offcanvas-js .content").html(data);
});
data contains html with preline js components
The text was updated successfully, but these errors were encountered: