I have a HTML component (from my wixsite) inside a dynamic page. I would like to be able to click an element inside the HTML component and have that change the wixlocation of the parent dynamic page.
Is this possible?
Here’s the code I thought might work…
And to receive the message on the parent page…
$w(“#myHtmlComponent”).onMessage
(wixLocation.to(/Members/${wixUsers.currentUser.id}
);