Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/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
Javascript 使用手机上的按钮关闭可折叠面板 接近_Javascript_Html_Twitter Bootstrap_Mobile - Fatal编程技术网

Javascript 使用手机上的按钮关闭可折叠面板 接近

Javascript 使用手机上的按钮关闭可折叠面板 接近,javascript,html,twitter-bootstrap,mobile,Javascript,Html,Twitter Bootstrap,Mobile,我有上面的按钮来关闭可折叠面板。除了在手机上(仅在ios上测试),它工作得很好。我可以点击按钮,但它不会执行 <div class="text-center"> <button type="button" class="btn btn-return btn-outline-dark" data-toggle="collapse"> Close </button>

我有上面的按钮来关闭可折叠面板。除了在手机上(仅在ios上测试),它工作得很好。我可以点击按钮,但它不会执行

<div class="text-center">
   <button type="button" class="btn btn-return btn-outline-dark" data-toggle="collapse">
   Close
   </button>  
</div>