I need to popup a new window (not a dialog inside the page or similar) after a ajax call succeeds. window.open()
will be blocked by the popup blocker of browsers. So how to solve this?
You can call window.open() not inside success callback, but after ajax call has been completed (using async: false)
You can't. The best you can do is provide a notification link on the page when the call succeeds and open the popup when the user clicks on the link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With