This commit is contained in:
2019-05-19 14:31:54 +02:00
parent b6735e15c3
commit 06e0ead8ea

View File

@@ -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>