Topic: Open MDB Select on page load

BizRTC pro asked 3 years ago

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 :

Krzysztof Wilk staff answered 3 years ago


You can expand an MDB Dropdown component from the start by adding the .show class to the .dropdown and .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:

Hope it will meet your expectations :)

Best regards

BizRTC pro commented 3 years ago

Hi Thank you for replying. I am looking to open this select dropdown on page load or some event :

Krzysztof Wilk staff commented 3 years ago


I made another snippet with a solution for you - check it here:

Best regards

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Windows
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes