1. 下载 http://plugins.jquery.com/selectize/

  2. 创建项目

    wKioL1Z3nODRyJwkAAT0GJT9Goc218.jpg


  3. 1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    <!DOCTYPE html>
    < html >
    < head  lang = "en" >
         < meta  charset = "UTF-8" >
         < title ></ title >
         < link  rel = "stylesheet"  href = "css/selectize.css" >
         <!--<link rel="stylesheet" href="css/selectize.default.css">-->
         < link  rel = "stylesheet"  href = "css/selectize.bootstrap3.css" >
     
         < script  src = "js/jquery-1.11.3.min.js" ></ script >
         < script  src = "js/standalone/selectize.js" ></ script >
    </ head >
    < body >
         < select >
             < option  value = "1" >apple</ option >
             < option  value = "2" >banana</ option >
         </ select >
     
         < script >
             $(function() {
                 $('select').selectize({});
             });
         </ script >
    </ body >
    </ html >