Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Collapse Events Not Working

digitalmanagerguru free 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!


Tomek Makowski staff answered 5 years ago



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

  • ForumUser: 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