shobhit Verma Posted July 7, 2014 Share Posted July 7, 2014 Hi, I want to know that can it be possible to open some link in new window or tab by using "Tools::redirect" or "window.open()" or by anything else but the previous tab keep doing or keep executing it work. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted July 7, 2014 Share Posted July 7, 2014 well, why not using a simple target="_blank" in the link? Link to comment Share on other sites More sharing options...
shobhit Verma Posted July 7, 2014 Author Share Posted July 7, 2014 Hi Nemo, Thanks for reply but the actual scenario is i am working in a controller from where i want to open a new tab which belong to some other website and i want that controller keep executing further set of code in that same previous code. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted July 7, 2014 Share Posted July 7, 2014 hm, well but it this case the current page is not terminated. I think I am not getting the point Well you can always try with an ajax call at this point, grab the page content and display it in a box Link to comment Share on other sites More sharing options...
webdev0008 Posted July 7, 2014 Share Posted July 7, 2014 Hi this may help you window.open('your_url','_blank'); Link to comment Share on other sites More sharing options...
NemoPS Posted July 7, 2014 Share Posted July 7, 2014 I don't see any difference between that and a normal target blank it's simply triggered from js Link to comment Share on other sites More sharing options...
webdev0008 Posted July 7, 2014 Share Posted July 7, 2014 Yes, it is also a one of the way to achieve this. Link to comment Share on other sites More sharing options...
Recommended Posts