<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>选择列表</title> <link href="../bootstrap/css/bootstrap.css" rel="stylesheet"> <!--[if lt IE 9]> <script src="../bootstrap/js/html5.js"></script> <![endif]--> </head> <body> <div class="container"> <h1 class="page-header">选择列表</h1> <label for="somewhere">想去的地方</label> <!-- 如果是多选就可以添加 multiple=""--> <select id="somewhere" multiple="multiple"> <option value="italy">意大利</option> <option value="usa">美国</option> <option value="uk">英国</option> </select> </div> <script src="../bootstrap/js/jquery-1.7.2.min.js"></script> <script src="../bootstrap/js/bootstrap.js"></script> </body> </html>
Bootstrap选择列表
select-finish.html
猜你喜欢
转载自beckham-xiao.iteye.com/blog/2397643
今日推荐
周排行