Answer the question
In order to leave comments, you need to log in
If there is an already created form, how to write a script for it to send data to the mail?
If there is an already created form, how to write a script for it to send data to the mail? Maybe someone can give an example. I will be very grateful!
Answer the question
In order to leave comments, you need to log in
vardata = $('.form').serialize();
$.ajax({
url: '/url.php',
type: 'POST',
data: data,
success: function(answer){
alert(answer);
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question