data in js
This commit is contained in:
		
							parent
							
								
									87cee6c471
								
							
						
					
					
						commit
						5d94806c9f
					
				| @ -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
									
								
								js/functions.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								js/functions.js
									
									
									
									
									
										Normal 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); | ||||||
|  |       }); | ||||||
|  |   } | ||||||
|  |    | ||||||
| @ -0,0 +1 @@ | |||||||
|  | start(); | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 nooahe
						nooahe