<script type="text/javascript"> $(document).ready(() => { $("select").material_select(); $(".jsBtnSaveValuesNotificationsShedule").on("click", () => { $.each($(".jsSelectedSchedule option:selected"), function() { console.log($(this).val()) }); }); }); </script>