Is there a way to reset the bootstrap input spinner by clicking a button? I attempted using document.getelementbyId().value = "0" and also tried using reset(), but neither method worked. Any suggestions on how to successfully reset it?
function resetScoreSing() {
document.getElementById("scoreSing1").reset();
document.getElementById("scoreSing2").reset();
}
<div class="container" style="width: 160px;"><input type="number" value="0" step="1" id="scoreSing2"></div>
<button type="button" class="clear" id="RSSing" onclick="resetScoreSing()">Reset Score</button>