Collapse Events Not Working


Topic: Collapse Events Not Working

digitalmanagerguru asked 5 years ago

With this code:

$('#Collapse').on('show.bs.collapse', function () {
    alert('testing');
})

*Expected behavior*The bootstrap event should be fired when the collapse is opened.

*Actual behavior*The collapse is opened but the bootstrap event is not fired.

Is this a known bug? Thanks!


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No
Tags