showing results for - "onclick increase counter javascript"
Maja
13 Jun 2020
1function incrementValue()
2{
3    var value = parseInt(document.getElementById('number').value, 10);
4    value = isNaN(value) ? 0 : value;
5    value++;
6    document.getElementById('number').value = value;
7}
8