i added a Button to my site which links to a function. That function builds an URL depending on the data a user entered and then opens this url preferrably in a new window/tab.
I used the wixlocation.To() subroutine to call the url but it always gets opened in the same window. I want a new window. How can this be done?