added some database work
This commit is contained in:
parent
0b28a908b1
commit
2926ad9619
9
SQL_Feladat_AdatB/index.js
Normal file
9
SQL_Feladat_AdatB/index.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
let tableSelectionDomElement = document.getElementById("tabla");
|
||||
let selectedTable = "tagok";
|
||||
|
||||
tableSelectionDomElement.addEventListener("change", function (){
|
||||
selectedTable = tableSelectionDomElement.value;
|
||||
|
||||
console.log(selectedTable);
|
||||
});
|
||||
|
22
SQL_Feladat_AdatB/index.php
Normal file
22
SQL_Feladat_AdatB/index.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root">
|
||||
<label>Válaszd ki a táblát amit szerkeszteni szeretnél:</label>
|
||||
<select name="tabla" id="tabla">
|
||||
<option value="tagok">Tagok</option>
|
||||
<option value="tagsag">Tagság</option>
|
||||
<option value="jelenlet">Jelenlét</option>
|
||||
<option value="esemenyek">Események</option>
|
||||
<option value="visszajelzes">Visszajelzés</option>
|
||||
</select>
|
||||
<br>
|
||||
</div>
|
||||
<script src="index.js" defer></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user