How to make code generated dynamic link in a repeater to open in new window?

Thanks for the response Massa,

Am trying with the code below, but it isn’t working.

$w.onReady(function () {
$w(‘#resultsRepeater’).onItemReady(($w, itemData, index) => {
let linkToDisplayPage = https://www.daaman.org/references/$itemData{"link-references-_id-referrence-title"};

$w(“#displayElement”).target = “_blank”;


Where ‘https://www.daaman.org/references/ is the dynamic page that has to be opened in new window in accordance with dynamic link 'link-references-_id-referrence-title ’ from the database.

There is some error in this, please guide what am doing wrong.

Thanking in anticipation.

Anupam Dubey