Topic: Open MDB Select on page load
Hi I want to expand or open the MDB Select Dropdown on some event or page load. How do I do that ?
I am trying to do this for MDB Select :
You can expand an MDB Dropdown component from the start by adding the
.show class to the
.dropdown-menu div elements (Warning - it is important to add the classes to both elements!).
You can manipulate them on default browser events to achieve your goals.
I made a snippet for you, so you can check how it should look like. You can find it here: https://mdbootstrap.com/snippets/jquery/krzysztof-wilk/2763892
Hope it will meet your expectations :)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: 4.19.1
- Device: Windows
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes