We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18b4d6 commit 166c6e8Copy full SHA for 166c6e8
0x15-javascript-web_jquery/101-script.js
@@ -0,0 +1,11 @@
1
+$('document').ready(function () {
2
+ $('DIV#add_item').click(function () {
3
+ $('UL.my_list').append('<li>Item</li>');
4
+ });
5
+ $('DIV#remove_item').click(function () {
6
+ $('UL.my_list li:last').remove();
7
8
+ $('DIV#clear_list').click(function () {
9
+ $('UL.my_list').empty();
10
11
+});
0 commit comments