[Solved] How to open in new tab with wix location

Thank you so much!! - Okay this was the information I was finding. Is there a different way to write my code so that I can use a new-tab function? Essentially what I have is an input box where it recognizes specific numbers and redirects to specific links based on the inputted number.