Hey I'm looking to have a table of products for an order form.
I would like the user to be able to add & subtract rows (adding & removing products w/ qty & remarks.)
I have pieced this together and works with a few exceptions.
- I need the ID of each input to +1 while val('') on the new inputs/row.
- The subtract button works but removes the last & only row. Removing itself & the add button with it.
Could anyone show me some examples of how I would +1 the inputs & have the subtract button show on the 2nd row? Or lead me in the right direction? Thanks in advance-