In Jquery function i am call ajax request , on sucess i have to open a url in a new tab .when the function starts i have to show loader and the page opens then hide the loader.
by using window.open('url','_blank') the browser is blocking the popup user should enable popup manually(Not a good one)
if i am using
async: false
then popup is opening in a new tab without blocking in browser but loader is not working.
Do You have Any Idea?