redirect with a select to another page

0

good to all I hope that they are well, today I come to ask for help in IONIC to see how I can through a select in html redirect to a page according to the option that the user chooses this is the html code <ion-item> <select name="lst" onchange="redireccionar(this.value)"> <option value="1">Tienda</option> <option value="2">Administrador</option> </select>

that is, when choosing option 1 go to a page called HOMET and option 2 a page called homead I have thought of a function in typescript but I can not think of how to make the conditions so that he knows which one to send

    
asked by Breynner Tesillo 24.11.2018 в 21:17
source

0 answers