How to add plus/minus buttons to slider
问题 I'm looking for help to make +/- buttons - to change slider value. What I'm doing wrong? I'd like to make it more useful. At this point user can only change the value by sliding movement. Snippet: function filterPrice(products) { let minP = $("#price").slider("values", 0); let maxP = $("#price").slider("values", 1); return products.filter(function() { let value = parseInt($(this).data("price"), 10); return !(value > maxP || value < minP); }); } function filterCheckboxes(products) { checkboxes