Topic: Select onselect not working
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?
mlazaru staff answered 2 years 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
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.1.0
- Device: PC
- Browser: Chrome
- OS: Windows 11
- Provided sample code: No
- Provided link: No