Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2538 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
set. 25
3390
0
ago. 25
897
1
ago. 25
3163
2
jul. 25
8783
2
jul. 25
5140