Hi guys, had a look on here before, but couldn’t not find something that works
I would like to simply add a button on my page, so the users can refresh/reload the page.
Thanks in advance.
Hi guys, had a look on here before, but couldn’t not find something that works
I would like to simply add a button on my page, so the users can refresh/reload the page.
Thanks in advance.
import wixLocation from ‘wix-location’;
// …
wixLocation.to(“https://www.wixproisrael.com”);
//use full url to reload
hi, and thank you
but how do I apply that to a button ?
import wixLocation from'wix-location';
$w.onReady(function() {
$w('#myButton').onClick(()=>{
wixLocation.to("https://www.wixproisrael.com");
})
})
@russian-dima Tanks
Oh wow ! amazing !
Thank you so so much ! works perfectly