Hello again! Let's see how I can explain it in the best way (so that the google translator doesn't lie...)
I am with an ESP32 and I have created a server with ESPAsyncWebServer.h After almost finishing all the visual issues (I have another problem, sometimes the web does not load well, it only happens on my mobile, on the PC there are no problems, I have to look for another mobile for more tests...) I had to make a selectbox, but not the html one (since apparently it can't be customized with CSS) and I created it as in a youtube tutorial (this works fine...) I have the problem when I want to send the selected data (number1, number2.....) to the ESP so that it loads the data in a variable... my question is basically how do I get the data so that the ESP has it? According to the selectbox tutorial, the data is stored in a hidden input.
I suppose that some more information will be needed.... you ask me for anything.
Thanks greetings!
P.d also has a JS for the menu.
Not sure what you are doing. Do you mean the dropdown select where you chose an option? That returns an argument with the selected value, similar to radio buttons.
Hello, I am showing you the example of the tutorial, which is basically the same as I have, removing the number of options, names and CSS configuration but otherwise it is the same, and the JS is exactly the same.
This is all I can tell you, I have nothing else! since the program for the ESP is only the configuration to load the server, read the data from the flash and wifi configuration, that everything works correctly.
As I indicated in the question, what I need is to "extract the data" selected and store it in a variable to give it another use in the ESP program.