I have a Repeater element on my page. It is not connected to any dataset. It is a static repeater with different pieces of information. A click on each item should take it to a different URL. I am unable to achieve this with code. Below is what I could achieve and it does not work.
$w.onReady( function () {
$w(“#repeater1”).onItemReady( ($w, itemData, index) => {
if ($w(“#text17”).text === “Visa & Residency”){
$w(“#text17”).onClick( (event, $w) => {
wixLocation.to(‘/amer-typing-services’)
} );
}
} );
} );