Question: HTML CODE

```
<select class="form-control" name="min_select[]">
              <option value="15">15</option>
              <option value="30">30</option>
</select>

```

JQuery Code

```
var val1[];
$('select[name="min_select[]"] option:selected').each(function() {
val1.push($(this).val());
});

```

when i run this code I get empty val array

Answer: 
The declaration array syntax is in correct.Please check the below code 

```
 var val1=[]; 
 $('select[name="min_select[]"] option:selected').each(function() {
  val1.push($(this).val());
 });

```
You can try the following

**HTML**

```
<select class="form-control min-select" name="min_select[]">
          <option value="15">15</option>
          <option value="30">30</option>
</select>

```

**JQUERY**

```
var values = [];
$("select.min-select").each(function(i, sel){
    var selectedVal = $(sel).val();
    values.push(selectedVal);
});

```

Is min\_select[] a multiple choice select?