Hi.
I know only the basics of JavaScript, and I'm having trouble understanding how to update a vale in a single row of a table.
I've got a PHP script that outputs a table. Each row has a hidden product id, product name, dropdowns for sizes and retail/wholesale, quantity, prices and an add to cart button. I want to add a cell that will display the total for a given row when a quantity is selected. For example, if a person selects three of product A at $10 each, the cell would immediately update with a total of $30.
I know to use innerHTML() to replace values. What I'm not sure on is how to have only the values of the one specific row the customer is selecting from updated without changing any other values in other rows.
Can someone here help me understand how this can be done?