22 lines
618 B
JavaScript
22 lines
618 B
JavaScript
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);
|
|
//
|
|
// }
|
|
});
|
|
} |