How To Handle Increase and Decrease Quantity Using Variable Value

Hello Everyone I Want to Ask How to Handle an menu that can decrease and increase wit click following the value from variable if the menu position like this


So I want to click plus three times when i inserting variable value three

If you can show us some HTML, then we can probably give you more information than “click on the minus to reduce and click on the plus to increase”.

I can suggest to use the “variable value three” in a setup of a for loop.

int readValue =  {variable value three}

for (int cnt = 0; cnt < readValue; cnt++) {'yourTO'))

thank you so much
for the help i already use this and work