khorsa (khorsa) wrote,
khorsa
khorsa

Простой способ сделать placeholder на select

<select name="combobrand">
    <option value="" disabled="disabled" selected="selected" style="display:none;">Выберите из списка</option>
    <option>test1</option>
    <option>test2</option>
    <option>test3</option>
    <option>test4</option>
</select>
Всё просто :D Пример: https://jsfiddle.net/4z61h62n/
Tags: html, select
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments