Topic: dropdown( 'toggle' )

rasterzaev pro asked 6 years ago

<div class="btn-group">
    <button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    This dropdown's menu is right-aligned
    <div class="dropdown-menu dropdown-menu-right">
       <button class="dropdown-item" type="button">Action</button>
       <button class="dropdown-item" type="button">Another action</button>
       <button class="dropdown-item" type="button">Something else here</button>
Method $( '.dropdown-toggle' ).dropdown( 'toggle' ) don't work when connect 'mdb.js', but it works in 'bootstrap.js'

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

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No