It appears that when I add code to an event handler for a button element, the ability for the button to go to a new page or an anchor or any of the setting of a button are disabled. Therefore, it appears that you need to use code to move to a new page or move to an anchor. The problem I am having is that can’t access any elements except those which are on my current page. Therefore, I am not seeing any way to implement my code on the press of a button and then have the option to go to a different page depending on the results. If anyone could point me in the right direction, it would be greatly appreciated.
Hi,
You can use wix-location.to() to navigate to any page or anchor on your site.
Please see examples and documentation here .
Thanks for the comment. This was exactly what I was looking for.