Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery get selected text from multiselect

$("#fm_delivery_or_collection option:selected").each(function () {
   var $this = $(this);
   if ($this.length) {
    var selText = $this.text();
    console.log(selText);
   }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #selected #text #multiselect
ADD COMMENT
Topic
Name
8+7 =