I have a Select Box with multiple="multiple"
I want to list the text and not values of all selected items
How can i do it?
I have a Select Box with multiple="multiple"
I want to list the text and not values of all selected items
How can i do it?
This should do the work...
var foo = [];
$('#multiple :selected').each(function(i, selected){
foo[i] = $(selected).text();
});