Hi everyone. Could you please advise me on how to modify this piece of code to make it opens dropdowns links on new tabs instead of the same tab?
I am not a programmer :(. Thanks.
import wixLocation from ‘wix-location’ ;
$w.onReady( function () {
$w( “#dropdown1” || “#dropdown2” ).onChange((event, $w) => {
console.log(event.target.value);
wixLocation.to(event.target.value);
});
});