0.0.102
This commit is contained in:
@@ -233,8 +233,8 @@ function autoPlaySlider () {
|
||||
// }
|
||||
// }
|
||||
|
||||
// form consultation
|
||||
function sendFormConsultation (el){
|
||||
// form feedback
|
||||
function sendFormfeedback (el){
|
||||
event.preventDefault()
|
||||
let form = el.form
|
||||
let formData = new FormData(form)
|
||||
@@ -250,10 +250,10 @@ function sendFormConsultation (el){
|
||||
// contentType: "application/json; charset=utf-8",
|
||||
data: formData,
|
||||
success: function(data){
|
||||
document.querySelector(".container_content_form_consultation").innerHTML = data.html
|
||||
document.querySelector(".container_content_form_feedback").innerHTML = data.html
|
||||
},
|
||||
error: function (data){
|
||||
document.querySelector(".container_content_form_consultation").innerHTML = data.html
|
||||
document.querySelector(".container_content_form_feedback").innerHTML = data.html
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user