Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2331 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Agu 25
150
1
Agu 25
2101
1
Jul 25
2590
2
Jul 25
8026
2
Jul 25
4477