Hi all,
I need to reset specific (not all) inputs. I am using the following to grab the inputs that have the classes I want to reset, but how would I execute the actual reset of the field. These are numerical inputs with a default value of 0 and I want to reset them to 0.
$(document).on('touchstart click', '#reset', function () {
var matches = document.querySelectorAll("input.form-control");
alert("got them all");
});
Thanks!
K.