How can you implement this example: enter image description here

If you add the attribute disabled, this option is not visible by default. It is necessary that when the list was dropped it was not, and by default it was

enter image description here

<select name="" id=""> <option value="" disabled>Выберите способ оплаты</option> <option value="Наличными">Наличными</option> <option value="Другим способом">Другим способом</option> </select> 

I will stylize then, this moment is of interest for the time being.

Thank.

    1 answer 1

    Set the <option> attributes to disabled selected hidden

     <select name="" id=""> <option value="" disabled selected hidden>Выберите способ оплаты</option> <option value="Наличными">Наличными</option> <option value="Другим способом">Другим способом</option> </select> 

    In IE11 and below from the list does not hide, but does not allow to choose.

    • Thank. What you need - Atomrr