2
In the example code attached, the item value is multiplied by the value of the respective select and displays the subtotal and total.
My question (of beginner), is how to hide and remove the selectlist from the account when the respective checkbox is unchecked, ie when checking the checkbox, the respective selectlist appears always starting at the first item in the list(1 unit).
I even managed to make it work without Jquery but it looked like a "Frankenstein" Thanks in advance, everyone who can help.
Follow the incomplete example, with jquery: https://jsfiddle.net/hLapmkq9/
You only want it to disappear when the checkbox is selected, or only when the user selects an item from the selectlist.
– Tiedt Tech
Why not lock your select until the checkbox is selected?
– Marconi
Selecting the first checkbox shows the first selectlist and adds it to the account
– Danilo Fagundes
I guess I got a little confused and edited out the original question @Marlon
– Danilo Fagundes
@Danilofagundes takes a look at what you need: https://jsfiddle.net/mtsys/hLapmkq9/1/
– Tiedt Tech