I need to open a new window (and not a dialog inside the page or similar) after ajax call is successful. window.open()will be blocked by the browser popup blocker. So how to solve this?
window.open()
You can not. The best you can do is to provide a notification link on the page on a successful call and open a popup when the user clicks on the link.
You can call window.open () not in the internal callback, but after the completion of the ajax call (using async: false)
You should probably tell your users to add a whitelist of your site to the browser popup blocker.
Please understand that pop-up blockers would be useless if there was an easy way to do what you want, i.e. bypass them.