开发者

Idea needed for dropdown implementation

开发者 https://www.devze.com 2023-02-07 00:46 出处:网络
I have to implement the following dropdown box. The first开发者_StackOverflow item in the list can\'t selected and the data will be populated dynamically.

I have to implement the following dropdown box. The first开发者_StackOverflow item in the list can't selected and the data will be populated dynamically.

Idea needed for dropdown implementation


I think you're looking for an optgroup

<select>
  <optgroup label="Choose Types">
    <option>All Types</option>
    <option>CAR</option>
    ...
  </optgroup>
  ...
</select>
0

精彩评论

暂无评论...
验证码 换一张
取 消