data in js

This commit is contained in:
nooahe committed 2022-10-26 14:20:01 +02:00
1 parent 87cee6c471
commit 5d94806c9f
3 files changed
+25

No files matched your search

+3
View File
@@ -14,5 +14,8 @@ dbVerbindungErzeugen()
</head> </head>
<body> <body>
<h1>Spinn mit!!!!</h1> <h1>Spinn mit!!!!</h1>
<script src="js/functions.js"></script>
<script src="js/main.js"></script>
</body> </body>
</html> </html>
+21
View File
@@ -0,0 +1,21 @@
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);
});
}
+1
View File
@@ -0,0 +1 @@
start();