In an php, we can use select option in that a user can select more than one option value, after that i click the move button, a on-click function is wrote in button, now how can i get all selected option value in single onclick.
<button type="button" id="search_rightSelected" onclick="inventory_left_to_right(document.getElementById('search'),false)" class="btn btn-block"><i class="glyphicon glyphicon-chevron-right"></i></button>