Many thanks, Sam!
I just changed it a little so the button click can control it instead of the selection from the dropdown.
export function dropdown1_change(event, $w) {
$w("#dataset1").setCurrentItemIndex(event.target.selectedIndex)
}
export function button32_click(event, $w) {
wixLocation.to($w("#dataset1").getCurrentItem().links);
}
Cheers!
Thomas