Sunday, May 19, 2024
190
rated 0 times [  192] [ 2]  / answers: 1 / hits: 24051  / 10 Years ago, tue, november 25, 2014, 12:00:00

I've searched many links for my query. But couldn't get the one I want.
Am using in window.open(url, '_blank') in my script on click of button(am not using any html here, I want it to be on button click only). Its working in Chrome, IE8. I want to open a new tab in the same window in IE11. I don't want to do any settings in Internet Options of IE. Because the script has to work in every system, if I go with manual settings the script won't run in all the systems where ever I test.
Is there any bug with IE11 ?


More From » internet-explorer

 Answers
5

Window.open() itself opens in new tab, Just remove _blank.
Use the below code.



window.open(url);

[#68713] Friday, November 21, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
blaisep

Total Points: 748
Total Questions: 95
Total Answers: 108

Location: Federated States of Micronesia
Member since Sun, May 16, 2021
3 Years ago
blaisep questions
Wed, Dec 16, 20, 00:00, 4 Years ago
Sun, Aug 16, 20, 00:00, 4 Years ago
Tue, Nov 12, 19, 00:00, 5 Years ago
Mon, Nov 11, 19, 00:00, 5 Years ago
;