select2 简单解析

1 <select name="supplierId" class="customsBrokerSel select2 absOpacity select2-hidden-accessible" style="position:absolute;width: 200px;" tabindex="-1" aria-hidden="true">
2   <option></option>
   <
option value="2">234 | 大运摩托</option>
   <
option value="3">233 | 电风扇</option>
   <
option value="4">号 | 水杯</option>
   <
option value="5">678 | 价值观</option>
   <
option value="7"> | </option>
   <
option value="8">BG义展报关001 | 义展报关行</option>
   <
option value="9"> | </option>
   <
option value="10">BG华捷报关001 | 华捷报关行</option>
</
select> 3 4 <span class="select2 select2-container select2-container--default select2-container--below" dir="ltr" style="width: 200px;">
  <
span class="selection">
    <
span class="select2-selection select2-selection--single" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1" aria-labelledby="select2-supplierId-8v-container">
      <
span class="select2-selection__rendered" id="select2-supplierId-8v-container" title="234 | 大运摩托">234 | 大运摩托</span>
      <
span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>
    </
span>
  </
span>
  <
span class="dropdown-wrapper" aria-hidden="true"></span>
</
span>

 

posted @ 2018-04-18 20:42  聂小恶  阅读(1180)  评论(0编辑  收藏  举报