Dropdown button with accordion not closing

I followed the below post which helped in creating the dropdown accordion.

Twitter Bootstrap: How to create a dropdown button with an accordion inside it?

However the dropdown doesn't close back and behave normally when I execute a javascript function from any of its <a> tags.

Updated fiddle with the issue.

jsFiddle with Bootstrap example code

Answers


http://www.bootply.com/rbuS0mHLvd

check out this link if it will help. If not then please explain the problem in detail with this code relevant to your code. Basically i have removed the data-toggle=collapse as it will add the "in" class to your dropdown by which the dropdown is opened untill the class "in" is removed.


Need Your Help

Pycharm, Django & PostgreSQL

django postgresql pycharm psycopg2

Ok I know there are multiple questions on this topic but none of the answers seem to help. I am new to pycharm wanted to create a new django project with a postgresql backend, when I try to sync my...

BrowseForFolder return error if directory is Desktop path

excel excel-vba

Below code is use to allow user to navigate directory, it works well if the location is a folder and failed if output directory is Desktop path. When I debug it show me the error on 'PickFolder =

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.