Answer the question
In order to leave comments, you need to log in
How to trigger popup window after ajax form submit?
I understand that the question is probably stupid, but I can’t find an example anywhere, how to show a pop-up window with the text after submitting the AJAX form, I display alert, but I don’t understand how to display the pop-up)
Answer the question
In order to leave comments, you need to log in
As an option:
$.ajax({
type: 'get',
url: "to/url",
success: function(data) {
// вызов функции отображения всплывающого окна/модалки
showModal();
}
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question