'Added (not finished) simply todo app in jQuery;'

This commit is contained in:
Arkadiusz Hypki 2024-03-25 16:42:49 +01:00
parent 23b9202759
commit 2ac8ee51cd

29
05_html_jQuery/web3.html Normal file
View File

@ -0,0 +1,29 @@
<html>
<header>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
</header>
<script type="text/javascript">
function add() {
$('.todo-table').append('<tr><td class="1"><input type="text" /></td></tr>');
}
</script>
<body>
<h1 class="first">TODO app</h1>
<table class="todo-table">
</table>
<button onclick="add()" >
Add
</button>
</body>
</html>