Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 引导分离按钮下拉列表不显示但不下降_Twitter Bootstrap - Fatal编程技术网

Twitter bootstrap 引导分离按钮下拉列表不显示但不下降

Twitter bootstrap 引导分离按钮下拉列表不显示但不下降,twitter-bootstrap,Twitter Bootstrap,我使用的是Twitter引导,除了下拉菜单外,它工作正常。我有css和js文件,btn组显示正常,但当我点击它时,它什么也没做。我的问题在哪里?谢谢 <div class="btn-group"> <button class="btn btn-primary">Action</button> <button class="btn btn-primary dropdown-tog

我使用的是Twitter引导,除了下拉菜单外,它工作正常。我有css和js文件,btn组显示正常,但当我点击它时,它什么也没做。我的问题在哪里?谢谢

       <div class="btn-group">
                <button class="btn btn-primary">Action</button>
                <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
                <ul class="dropdown-menu">
                    <li><a href="#">Action</a></li>
                    <li><a href="#">Another action</a></li>
                    <li><a href="#">Something else here</a></li>
                    <li class="divider"></li>
                    <li><a href="#">Separated link</a></li>
                </ul>
            </div> 

行动

我能猜出问题出在哪里,它与引导无关问题出在我为提交表单而写的某个地方的脚本上,在我看来它与我的代码无关,但我错了

您是单击“操作”还是插入符号?您的代码在Bootply上似乎运行良好:如果您想让“操作”激活下拉列表,请将其更改为
Action