get selected="selected" text with jquery
This question already has an answer here:
Well, you can put them in an array
var arr = $('option:selected').map(function(){ return $(this).text() }).get();
// arr[0] = 1
// arr[1] = 4
// arr[2] = 8
I suppose it's multi select.
链接地址: http://www.djcxy.com/p/29298.html