0

How to get all options of a select using jQuery?

JavaScript
$("#id option").each(function()
{
    // Add $(this).val() to your list
});
add comment
Suggest a different solution or add another example