Select onselect not working


Topic: Select onselect not working

pbeks pro premium priority asked 2 years 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?


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: 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
Tags