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



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