05-14-2021, 06:57 AM
(05-10-2021, 04:31 PM)Comograma Wrote: Is it possible, by clicking a button, open a popup window (modal window) which the content of that popup is a external page (external link)?
Precisely responding your question: Only with JavaScritp code attached directly to an user initiated event, like a onclick of a button.
Browsers will allow a popup window *if* it is directly initiated by the user (e.g. the user clicked on a button).
If the button click generates a request that goes to the server and comes back with some code that tells the browser to open a popup, then it will block it.
That's how it works.

