In my ember application, I have a dialog box with 'OK' and 'Cancel' buttons. On clicking on 'OK', an action will be triggered in which an ajax request will be sent and in its success, a new tab with a certain url has to be opened. I tried triggering a click in the success of the ajax request, but the pop up gets blocked. Here I want to use an<a href=url rel='noreferrer'> in the success of an ajax request
<a href=url rel='noreferrer'>
rel='noreferrer' because I want the new tab to occupy seperate browser memory and not that of the current window. Hence I cannot create an element with window.open() before the ajax request and then change the location(url) in the success of it. (new tab opened using window.open() will occupy the memory of the window from which the new tab got triggered). It would really help if I could get a solution. Thanks in advance :)
newTab.document.write (""); 작동하지 않음 - 새 탭이 여전히 트리거 된 창 메모리를 차지함 @derekbrown – Srinithi