'Added (not finished) simply todo app in jQuery;'
This commit is contained in:
parent
23b9202759
commit
2ac8ee51cd
29
05_html_jQuery/web3.html
Normal file
29
05_html_jQuery/web3.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user