I have a set of <option> inside a <select> and want to use JavaScript to remove all values that have been selected, put them into a string then post it to my PHP script.
I have a set of <option> inside a <select> and want to use JavaScript
Share
Using only Javascript/DOM
I’m guessing the
selecthas multiple attribute