Answers for "multiple values in select html"

0

getting te value of select multiple value

var options = document.getElementById('select-meal-type').selectedOptions;
var values = Array.from(options).map(({ value }) => value);
console.log(values);
Posted by: Guest on April-07-2022
-1

html select multiple

$(".chosen-select").chosen({
  no_results_text: "Oops, nothing found!"
})
Posted by: Guest on March-25-2021

Code answers related to "multiple values in select html"

Browse Popular Code Answers by Language