необходимо вызывать функцию пересчета inputHandler() сразу после изменения input#multiply.value
<div class="num-block skin-2">
<div class="num-in">
<span class="minus dis">
<div class="minusdiv">-</div>
</span>
<input type="text" id="multiply" name="count" class=" in-num" value="10" readonly="">
<span class="plus">
<div class="plusdiv">+</div>
</span>
</div>
</div>
<form>
<input id="multiply" type="text" name="number" value="14">
<input class="result" type="text" name="number" value="3">
<input class="result" type="text" name="number" value="4">
<input class="result" type="text" name="number" value="1">
<input class="result" type="text" name="number" value="2">
</form>
const multiplyInput = document.querySelector('#multiply');
const resultInputs = document.querySelectorAll('.result');
resultInputs.forEach( item => {
item.value = item.value * multiplyInput.value;
});
<form action="" method="post">
<input type="text" id="test" value="10">
</form>
<div id="result"></div>
<div id="result"></div>
<div id="result"></div>
<div id="result"></div>
var input = document.getElementById('test');
var result = document.getElementById('result');
input.onkeyup = input.oncopy = input.onpaste = input.oncut = (function() {
return function() {
result.innerHTML = this.value;
}
})();
<!doctype html>
<html lang="ru">
[[$Head]]
<body>
[[$header]]
<div class="container">
<div class="row">
<div class="col-md-8 left_resut">
<div class="left-block">
[[!msCart? &tpl=`msCart` ]]
</div>
</div>
</div>
</div>
<script>
miniShop2.Callbacks.Cart.clean.response.success = function () {
location.href = "/print";
return false;
}
</script>
</body>
</html>
<div class="item row" data-id="[+id+]" data-price="[+price+]" data-title="[+name+]">
<div class="col-md-2">
<div class="img">
<a href="[+url+]"><img src="[+img+]" alt="[+name+]" title="[+name+]" /></a>
</div>
</div>
<div class="col-md-7 col-sm-8">
<a class="name vertical-center" href="[+url+]">
<span>[+name+]</span>
</a>
<input type="hidden" name="product[+id+]" value="[+id+]" form="order-form" eform="::0::" />
<div class="form-group">
<p class="label">Сторона <br>открывания</p>
<input id="side-left[+id+]" class="radio" type="radio" name="sidelr[+id+]" value="Левое"[+checked1+] form="order-form" />
<label for="side-left[+id+]">Левое <br>(петли слева)</label>
<input id="side-right[+id+]" class="radio" type="radio" name="sidelr[+id+]" value="Правое"[+checked2+] form="order-form" />
<label for="side-right[+id+]">Правое <br>(петли справа)</label>
</div>
[+sizes+]
[+color_ts+]
</div>
<div class="col-md-3 col-sm-4">
<div class="cost">
<div class="price"><b>[+price+]</b> руб.</div>
<select class="form-control select-num" name="num[+id+]" form="order-form">
<option value="1"[+selected1+]>1</option>
<option value="2"[+selected2+]>2</option>
<option value="3"[+selected3+]>3</option>
<option value="4"[+selected4+]>4</option>
<option value="5"[+selected5+]>5</option>
<option value="6"[+selected6+]>6</option>
<option value="7"[+selected7+]>7</option>
<option value="8"[+selected8+]>8</option>
<option value="9"[+selected9+]>9</option>
<option value="10"[+selected10+]>10</option>
</select> шт.
<div class="sum"><b>[+sum+]</b> руб.</div>
</div>
<span class="remove"></span>
</div>
</div>
<tr>
<td vertical-align="center"><a href="[+url+]">[+name+]</a></td>
<td vertical-align="center"><b>[+price+]</b> руб.</td>
<td vertical-align="center">[+num+]</td>
<td vertical-align="center"><b>[+sum+]</b> руб.</td>
<td vertical-align="center"><b>[+sidelr+]</b></td>
</tr>
Я как понимаю, при уменьшении значения в #multiply результат не убавится в .result ?