0.0.98
This commit is contained in:
@@ -499,6 +499,7 @@ body.n_scroll{
|
||||
}
|
||||
|
||||
.label_consultation_form{
|
||||
color: #000000;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
@@ -231,4 +231,28 @@ function autoPlaySlider () {
|
||||
// if (autoplayInterval){
|
||||
// clearInterval(autoplayInterval)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// form consultation
|
||||
function sendFormConsultation (el){
|
||||
let form = el.form
|
||||
let formData = new FormData(form)
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
url: '/get_content_for_section/',
|
||||
type: "POST",
|
||||
// async: true,
|
||||
cache: false,
|
||||
processData: false,
|
||||
// contentType: false,
|
||||
// enctype: 'json',
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: formData,
|
||||
success: function(data){
|
||||
|
||||
},
|
||||
error: function (data){
|
||||
alert(data.errors)
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user