Input value plugin show the areaValueNow + 1

Viewed 15

i usually dont have problems with my JavaScript, but somehow i cannot do this. In the bottom of this page there is a form to book food. https://nordisktapas.dk

because of the way the plugin is made i would like on the second page where you choose the amount, i would like the displayed text to be the areaValueNow +1 but i cannot seem to figure out which attribute is actually being displayed as the "text" on the front-end

can anyone help here?

enter image description here

this is the input element in the DOM that shows the number i want to change

<input class="el-input__inner" step="1" max="149" min="0" name="" type="number" autocomplete="off" aria-label="" role="spinbutton" aria-valuemax="149" aria-valuemin="0" aria-valuenow="9" aria-disabled="false">

But when i try to change the areaValueNow through JS, the 9 in the image for example does not change

for example i have tried using this:

document.getElementsByClassName('el-input__inner')[3].ariaValueNow = 5
0 Answers
Related