I am working on a custom registration form, it seems to work fine in preview mode but not in live mode. So, I decided to work on a very basic function and the problem remains.
I created a lightbox which contains text inputs and a button.
Here is the code :
When I preview the page and click on the button, everything is working. When I publish the page and click on the button, it does nothing.
Does anyone knows why ? Thanks in advance !