spinn_mit/js/functions.js

22 lines
334 B
JavaScript

function start(){
let url = "system/alleMarkerHolen.php";
fetch(url)
.then((response) => {
return response.json();
})
.then((markerData) => {
console.log(markerData)
})
.catch(function(error) {
console.log('Error: ' + error.message);
});
}