Topic: Select onselect not working
pbeks priority asked 1 year ago
In bootstrap 4 I used following code to act on a select
<select class="select" data-mdb-filter="true" size="2" name="UC_ProgramId" value=<?php $UC_ProgramId ?> onchange="self.location='add_competence.php?UC_ProgramId='+this.options[this.selectedIndex].value">
with bootstrap 5 this is no longer using, di you have an example how to reload the page on a selection in select?
Mateusz Lazaru staff answered 1 year ago
Here you have all the Select's events in MDB5:
https://mdbootstrap.com/docs/standard/forms/select/#api-section-events
Example usage:
https://mdbootstrap.com/snippets/standard/mlazaru/4896857#js-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.1.0
- Device: PC
- Browser: Chrome
- OS: Windows 11
- Provided sample code: Yes
- Provided link: No