Mega-Menu – Show with a search box

William_lwh asked 2 months ago

I'm trying to use the Mega-Menu feature to show when search results come back through an ajax call.Is there any javascript that can be used to expand it manually?


Hello,
maybe try to trigger click event like this:
$('.dropdown-toggle').trigger('click');

Let me know if this resolved your problem

Best,
Ania


Please insert min. 20 characters.
Status

Answered

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