Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2282 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 25
2399
2
jul. 25
7889
2
jul. 25
4295
2
jul. 25
4031
2
jun. 25
2650