B
B
B1ackGh0st2019-05-24 12:09:26
Python
B1ackGh0st, 2019-05-24 12:09:26

How to add selected items in a list to a database?

Hey!
There is a table of product names that can be ticked off for the order. How can I immediately send a request in a batch and process it?

| + | 1 | Bread |
| - | 2 | Sausage |
| - | 3 | Potato |
| + | 4 | cabbage |

After clicking on the "add" button, I need to send an Ajax request to add "Bread" and "Cabbage" to the database table

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question