Trying to make it work and my error "changeState does not exist on #box1"
$w("#buttonState1").onClick(() => { $w('#Box1').changeState("state2"); }); $w("#buttonState1").onClick(() => { $w('#Box2').changeState("state1"); });
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Without any comments,
this should be understandable.... take a look.....
https://russian-dima.wixsite.com/meinewebsite/multistate-boxes