Please help. I’'m using a simple multistate box. The code worked earlier but now is not. I don’t know what happened. I’m trying to do a long list of these and it was going great until it wasn’t. Btw, dropped my laptop and had to go buy a new one today. Also, this is site is not yet live. Please be kind. I’m old and over my head. Many thanks.
$w . onReady ( function () {
$w ( “#button1” ). onClick (() => {
$w ( ‘#statebox8’ ). changeState ( “expanded8” );
});
$w ( “#button2” ). onClick (() => {
$w ( ‘#statebox8’ ). changeState ( “collapsed8” );
});
});
Including screenshots for to show code and names of states and buttons.