How to get all "option" values in "select" by Jquery?
jquery
Solution
var values = $("#group_select>option").map(function() { return $(this).val(); });
Problem
Does anyone know how can I get all values in the select by Jquery? Example: ``` <select name="group_select" id="group_select"> <option value="a">A</option> <option value="b">B</option> <option value="c">C</option> </select> ``` Which I want to get all option values (a,b and c) from select (without selected any option) by using jquery