New tab blocked by pop up blocker

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New tab blocked by pop up blocker

Pratibha
Hi team,
I need to open window using Ajax Target

The below code opens url in new tab but is blocked by pop up

target.appendJavaScript("window.open('"+url.toString()+"','_blank');");
getRequestCycle().scheduleRequestHandlerAfterCurrent(target);


Thankyou