Html – How can I get the value of a select element with multiple options selected?
I have a select element on my web page that allows the user to select multiple options. I want to obtain an array with the values of all the options that are currently selected. I have tried using the selectedOptions…