I cant get bootstraps dropdown button to work :/

What am i doing wrong here? I tried multiple different ways but i cant get it to work

Link to my Codepen ->

You should use version 4 of bootstrap.js (you’re using version 3). You also need the poppler.js library included.

https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js

Make sure the libraries are ordered like this:

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.min.js

Not sure about jqueryui, but if you need it, it might be best to place it right under jquery in the list.

1 Like

Thank you @kevcomedia !