Update
This commit is contained in:
@@ -16,12 +16,23 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button id="inscol">Spalte hinzufügen</button>
|
<button id="inscol" onclick="inscolumn()">Spalte hinzufügen</button>
|
||||||
<button id="delcol">Spalte entfernen</button>
|
<button id="delcol" onclick="delcolumn()">Spalte entfernen</button>
|
||||||
<button id="insrow">Zeile hinzufügen</button>
|
<button id="insrow" onclick="insrow()">Zeile hinzufügen</button>
|
||||||
<button id="delrow">Zeile entfernen</button>
|
<button id="delrow" onclick="delrow()">Zeile entfernen</button>
|
||||||
<p id="dimension"></p>
|
<p id="dimension"></p>
|
||||||
<table id="table"></table>
|
<table id="table"></table>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
let table = document.getElementById("table");
|
||||||
|
let colcount = 0;
|
||||||
|
let rowcount = 0;
|
||||||
|
|
||||||
|
function inscolumn() {
|
||||||
|
colcount += 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user