Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2243 Zobrazení

I make a call to the booking plugin to generate a modal with this code, but when I show it, it loses the interactivity of the events. How I can avoid this?

$.ajax({
    type: "POST",
    url: "booking/reservation/modal",
    data: JSON.stringify(data),
    contentType: "application/json",
    success: function (response) {
        resolve(response)
        $("body").append(response.result)
        $(".modal").modal("show")        },       
    xhrFields: {
        withCredentials: true,
    },
})


result.response is give me this html:


\n"\n



Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
2285
2
čvc 25
7757
2
čvc 25
4176
2
čvc 25
3956
2
čvn 25
2559