bootstrap下拉菜单(select)选择后,会显示选择的项

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../../libs/jquery/jquery.js"></script>
    <script type="text/javascript" src="../../libs/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../libs/bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="page-header" style="padding: 0px;border: 0px;">
    <div class="form-horizontal">
        <div class="control-label col-lg-1">
            标题
        </div>
        <div class="col-lg-2">
            <select class="form-control" onchange="selectOnchang(this)">
                <option>所有申请商家</option>
                <option>待审核商家</option>
                <option>未通过审核商家</option>
                <option>已通过审核商家</option>
            </select>
        </div>
    </div>
</div>
    <!--<div style="width: 70%;margin-left: 10px;margin-bottom: 5px">-->
        <!--<select class="form-control" onchange="selectOnchang(this)" style="display: inline">-->
            <!--<option>所有申请商家</option>-->
            <!--<option>待审核商家</option>-->
            <!--<option>未通过审核商家</option>-->
            <!--<option>已通过审核商家</option>-->
        <!--</select>-->
    <!--</div>-->
</body>
</html>

 

猜你喜欢

转载自blog.csdn.net/wangchaohpu/article/details/81772323
0条评论
添加一条新回复