Answer the question
In order to leave comments, you need to log in
How do I stop the page from refreshing when an email is sent via ajax?
Good day!
Please tell me how to make sure that the page is not updated when sending an email?
The site where this happens is kitchen.dimavak6.bget.ru
The letter script is taken from https://habrahabr.ru/sandbox/93363/
Answer the question
In order to leave comments, you need to log in
Good afternoon.
$("#form").submit(function(e){
e.preventDefault()
// остальной код
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question