Dropdown don't work

Stivan Mersho asked 9 years ago

Used same example as the 2nd code and the dropdown dont work I tried this example:
<div class="dropdown">
  <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Dropdown Example
  <span class="caret"></span></button>
  <ul class="dropdown-menu">
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
  </ul>
</div>

Michal Szymanski staff pro premium priority answered 9 years ago

It works fine. Did you include in your project all necessary css and js files?

Which css and js files we need?


Krzysztof Wilk staff commented 4 years ago

Hi!

These provided by our package from the start. I mean: CSS: bootstrap.min.css, mdb.min.css + font awesome and font roboto JS: jquery.min.js, popper.min.js, bootstrap.min.js and mdb.min.js.

If you already have these files and dropdowns still don't work - could create a snippet with your code in our online editor? It'll be helpful :)

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No