Skip to content
Advertisement

Get data from a form using post

I have three dropdowns and I can’t get data from two of them using POST, here is my code:

JavaScript

I can get the categoryID but not from the supplier or order status

Advertisement

Answer

All three select has same name attribute please change the values name=”category_id”

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement