Created
August 26, 2019 06:45
-
-
Save phamquocbuu/d6bf1a4f86c352ed2f49cbb5eaf1b693 to your computer and use it in GitHub Desktop.
How to get all selected option text form multi select Using Javascript - https://stackoverflow.com/questions/14972708/how-to-get-all-selected-option-text-form-multi-select-using-javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("select :selected").map(function (i, element) { return jQuery(element).text(); }).get(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment