I placed repeater contains 8 buttons.
And each buttons has text and url which is from database.
And I add the code $w(“#button25”).target = “_self”;
I just want when click the button, open the link with same window.
Result is,
I publish the site, each button has each text which is fine.
And each button has each url this is also fine.
But, once click the button, all button has same url on the opened page.
The text is correctly displayed.
For example,
click the button A
Jump to page A. then all button has page A url.
When reload the page, button seems correctly reload from database.
When I delete the code
$w(“#button25”).target = “_self”;
Problem has vanished.
I want pages open with same window correctly.
I hope somebody has the answer.
Thanks.