How can i make an event fire every time on button click – Jquery
im trying to make and the same event fire every time but it only fires once when i click "del" button HTML <input type="text" name="todoInput" id="todoInput"> <button class="btn">Add</button><br> <p class="error"></p> <div> <ul class="todos"></ul> </div> jQuery var todos = []; $(".btn").click(function()…