Wix corid Button click event not working in live site

Hi to all
I have added button on my site. Then add a wix code to make on click event. It is working fine in editor and hiding the text.
But when i test it on live site in desktop button does not work. Live site on mobile button is working.

Looking for help.

export function button2_click(event) {
$w( “#text23” ).hide();
console.log( “clciked” )
}

TIA

@yisrael-wix
@home8723
Sir please respond . Thanks

Please post the URL of your site, and specify on what page you are encountering this issue.

https://azmat123a.wixsite.com/123a/blank-3

I tried https://azmat123a.wixsite.com/123a/blank-3 and it works fine.

I didn’t know where to look on your other site.

when you click on button heading is disappearing?

Yep - works fine.

I have tested on 2 laptops not working

I tried this on both Chrome, Safari, Firefox, and Opera and it works fine on all four browsers.

Perhaps it’s cache - try with incognito/private mode.

Thank you sir in my case it is also not working in incognito

This is what happens for me:

Are you using a supported browser and device . I would recommend contacting Wix Customer Care .

Thanks that is what i want don’t know why it is behaving like that on my side