jquery美化下拉选择插件5219 下拉选择

最近更新于 12天前

jquery实现下拉选择
<div class="c-dropdown js-dropdown">
  <input type="hidden" name="Framework" id="Framework" class="js-dropdown__input">
  <span class="c-button c-button--dropdown js-dropdown__current">Select JS Framework</span>
  <ul class="c-dropdown__list">
    <li class="c-dropdown__item" data-dropdown-value="angular">Angular</li>
    <li class="c-dropdown__item" data-dropdown-value="backbone">Backbone</li>
    <li class="c-dropdown__item" data-dropdown-value="ember">Ember</li>
    <li class="c-dropdown__item" data-dropdown-value="knockout">Knockout</li>
    <li class="c-dropdown__item" data-dropdown-value="react">React</li>
  </ul>
</div>
  <script src='js/jquery.min.js'></script>

    <script  src="js/index.js"></script>
      立即下载 ( 文件大小:0.03 M)

    浏览器兼容性

    1. IE 8
    2. IE 9
    3. Mozilla Firefox
    4. Google Chrome
    5. Oper
    6. Safari

    技术讨论区(由于垃圾评论太多,已关闭评论功能)

    键盘快捷键: 上一个 下一个