How to get all selected values from <select multiple=multiple>?

后端 未结 13 1929
情书的邮戳
情书的邮戳 2020-11-27 12:25

Seemed odd I couldn\'t find this one already asked, but here it goes!

I have an html as follows:

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

提交回复
热议问题