Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

getting all the selected text from multiselect and joing them.

var text = $('#selector option:selected').toArray().map(item => item.text).join();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selected #text #multiselect #joing
ADD COMMENT
Topic
Name
1+2 =