I am trying to use jQuery to get all the values ββthat are in a multiple select box. I currently have a selection in which users are selected in the selection list and then added to the PickList field. I am trying to use jQuery to get a somewhat formatted list (formatted with spaces), so I can parse this list later. I can get a real weird string that is not formatted by doing this
$.map($('#PickList'), function(e) { return $(e).text(); } );
but it is not formatted with a space "" after each value, and the line looks like it has a ton of spaces in front of it or something like that. Does anyone know a way to do this? Thanks
fiktionvt
source
share