Hello, all !
Help me, please.
How can i get array of index multiple selected items from smart select object?
Example, this code returned only the name of selected items
app.smartSelect.get('.smart-select').valueEl
how i’ll get array of index this names
code html is:
<a class="item-link smart-select smart-select-init">
<select name="options">
<option value="1" selected>Option1</option>
<option value="2">Option2</option>
<option value="3">Option3</option>
...
<option value="16">Option16</option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Options</div>
</div>
</div>
</a>
i want have a array of selected values, like [1,2,3,7]
i havn’t ideas