-1
Hello, good afternoon, I have a question in the following, I want to create a system that by clicking on a button, generates the value in an input, this I have already done, but I need that, when clicking more times on that button, the value of the input change to "Example (1.2..3)", with the multiplication value between (). An example of what it would look like:
In short, if I double-clicked Add, I would return this, and if I once clicked Remove, it would be changed to "Example Product (1)". Thank you very much to anyone who can help!
Just what I needed, thank you very much!! And even helped me with the explanation of how it works!
– Harrison Martes
Oops, you’re welcome,
– NoFace