This commit is contained in:
2023-08-24 18:50:47 +03:00
parent 6a2debcc2d
commit 1e152c7dab
3 changed files with 126 additions and 90 deletions

View File

@@ -1,5 +1,19 @@
function filters_func_find_route_main (){
let urls_for_els = {
'road_url':''
}
function filters_func_find_route_main (el){
event.preventDefault()
let form = el.form
let formData = new FormData(form)
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
url: '/ru/routes/find_route/',
type: "POST",
// async: true,
cache: false,
processData: false,
contentType: false,
// enctype: 'json',
data: formData,
success: function(data){
},
});
}