My Editor X code used in the website is not working, can you please confirm if there is any update on the platform

Website link

Under snapshots

Code used

$w(“#button01”).onClick(function () {
$w(“#multiStateBox”).changeState(“state1”);

});

$w(“#button02”).onClick(function () {
$w(“#multiStateBox”).changeState(“state2”);

}); 

$w(“#button03”).onClick(function () {
$w(“#multiStateBox”).changeState(“state3”);

});

The three buttons are not working while clicking, can you please confirm on prioirty

Where is your $w.onReady()-code-part?


$w.onReady(()=>{
    $w(“#button01”).onClick(function () {
        $w(“#multiStateBox”).changeState(“state1”);
    });

    $w(“#button02”).onClick(function () {
        $w(“#multiStateBox”).changeState(“state2”);
    }); 

    $w(“#button03”).onClick(function () {
        $w(“#multiStateBox”).changeState(“state3”);
    });
});

This is also not working…i Have added in my code and checked…no Luck.Please help

$w.onReady(() => {
$w(“#button01”).onClick(function () {
$w(“#multiStateBox”).changeState(“state1”);

  });

$w(“#button02”).onClick(function () {
$w(“#multiStateBox”).changeState(“state2”);

  }); 

$w(“#button03”).onClick(function () {
$w(“#multiStateBox”).changeState(“state3”);

  }); 

});

once i remove the entrance animation and its start working thanks

:thinking: :face_with_raised_eyebrow: you never mentioned any animation in your description. But if it works now, then i am happy that i could help you.