JQuery - Multiple Select Options

前端 未结 9 719
时光取名叫无心
时光取名叫无心 2020-12-07 15:53

I am trying to grab all selected items in the following select multiple and separate them by a comma. The code is below:

 elements, the .val() method returns an array containing each selected option.

提交回复
热议问题