Project_Fish/static/script.js

22 lines
618 B
JavaScript
Raw Normal View History

2021-11-07 11:56:41 +00:00
function GetServices(){
$.ajax({
type: "POST",
url: "/GetServices",
data: JSON.stringify({
"nummer": document.getElementById('nummer_input').value,
}),
contentType: "application/json",
dataType: 'text json',
success: function(response) {
document.getElementById('resultblock').innerHTML = response
},
error: function(error){
console.log(error);
}
// success: function(result) {
// console.log("aa");
// console.log(results);
//
// }
});
}