I am trying to use JQuery to get all of the the values that are in a multiple select box. I currently have a picklist thing going on where users are selected in a select list box and then added to the PickList box. I am trying to use JQuery to get a somewhat formatted list (formatted with spaces) so I can parse that list later on. I am able to get a real weird string that is not formatted by doing this
$.map($('#PickList'), function(e) { return $(e).text(); } );
but this is not formatted with a space " " after each value and the string looks like it has a ton of whitespace in the front of it or something. Anyone know a way to do this? Thanks