There multselekt and hidden unit. It is required to show the block if a certain option is selected. And back to hide it, if the desired option is removed from the sample.
I go around the selected option and check them on val. But something is wrong ... If you choose one by one, when all three options are selected, the block is hidden for some reason.
jQuery('.js-select').on('change', function(){ jQuery(this).find('option:selected').each(function(){ if( jQuery(this).val() == "Второй"){ jQuery('p').show(); } else { jQuery('p').hide(); } }); }); select { width: 150px; } p { display: none; } <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.0/jquery.min.js"></script> <select class="js-select" name="add-programm[]" multiple="multiple"> <option value="Первый">Первый</option> <option value="Второй">Второй</option> <option value="Третий">Третий</option> </select> <p>Скрытый блок</p>