You do not need to configure an onclick event in the code, configure the button action in the editor with any link, and change the link in the code as needed.
-
$w.onReady( function () {
-
$w(“#button1”).link = “https://www.google.co.il”;
-
} );
You do not need to configure an onclick event in the code, configure the button action in the editor with any link, and change the link in the code as needed.
$w.onReady( function () {
$w(“#button1”).link = “https://www.google.co.il”;
} );