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
Hi
Check this snippet:
https://mdbootstrap.com/snippets/jquery/tomekmakowski/883423?view=project#js-tab-view
Best, Tomek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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