Hi Again,
How can I close a modal with a button?
I added this (https://nicepage.com/questions/7162/popup-model) code in "Additional HTML Code" that Nicepage provided to show a modal when you click a button. It works great, but the modal can only be closed by clicking outside the modal, by pressing " Esc" or clicking " X" .
I need a close button on the modal. In the phone view the modal covers the full screen, so clicking outside the window isn't an option to close the modal. There's no " Esc" key on a phone to press. The " X" is the best option here, but I highly prefer a simple close button. What code do I have to add for this?
Hi Again, How can I close a modal with a button? I added this (https://nicepage.com/questions/7162/popup-model) code in "Additional HTML Code" that Nicepage provided to show a modal when you click a button. It works great, but the modal can only be closed by clicking outside the modal, by pressing " Esc" or clicking " X" . I need a close button on the modal. In the phone view the modal covers the full screen, so clicking outside the window isn't an option to close the modal. There's no " Esc" key on a phone to press. The " X" is the best option here, but I highly prefer a simple close button. What code do I have to add for this?