Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2313 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jul. 25
2520
2
jul. 25
7965
2
jul. 25
4405
2
jul. 25
4118
2
jun. 25
2706