How i can pass a value from multiple option and make it an array into the Code.gs. I cant figure out how it will works, but see my code if there is a logic need to input.
HTML
<select class="js-example-basic-multiple col-md-2 btn btn-default" data-placeholder="Choose Month" name="select_month" id="select_month"
multiple="multiple">
<option value=""></option>
<option value="0" style="color:black;">January</option>
<option value="1">Febuary</option>
<option value="2">March</option>
<option value="3">April</option>
</select>
SCRIPT
var getArrayMonth = $('#select_month').val();
google.script.run.getArr(getArrayMonth);
CODE.gs
function getArr(getArrayMonth) {
var arrMonth = new Array(getArrayMonth);
var length = arrMonth.length();
Logger.log(length);
}