Seeking a way to refresh the flexslider on a click event. I have embedded the flexslider in a Bootstrap pop-up and need it to update when the user clicks. The issue arises when I try to refresh the slider as it fails to display properly, likely due to losing its inline styles. Despite debugging and confirming everything is functioning correctly, the in-line CSS fails to render after refreshing the slider.
Solution for Refreshing Slider:
$(function() {
$(".sidebar-button").click(function(evt) {
$(".custom-popup-personalize").load(window.location + " .custom-popup-personalize");
})
});
I would greatly appreciate if anyone could provide a solution to this problem.https://i.sstatic.net/ALvVO.png