qcAllocationDetails.BatchId = $("#batchIDSelect option:selected").map(function () { return $(this).val(); }).get().join(','); console.log(qcAllocationDetails.BatchId);
<select id="batchIDSelect" name="batchIDSelect" class="combo100" multiple="multiple"> </select>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)