You have said you have tried with _bkank
but it should be target="_blank"
.
BTW, You can see in this question that the target="_blank"
is correct, but the way the browser handles this case is up to his settings.
You need to change IE8/9 settings
to open that kind of target in a new tab. There's nothing you can do.
Reference it from here as VAShhh's answer.
UPDATE
Possible Reasons for the Behavior:
the web page you are viewing is trying to close the tab
Internet Explorer introduced a wide range of security features with its seventh version. This is the primary reason you face problems when dealing with websites or services having their own security features. The following are some reasons why you get the popup message.
- The problem of a webpage trying to close a window in Internet Explorer is common when you are trying to access a Microsoft Dynamics CRM website.
- It may also happen due to JavaScript errors in the website code.
- Some websites close the Internet Explorer as part of their security policy - to erase the history (eg NetBanking, shopping sites, etc). Unlike with other websites, the popup appears after you log out of the portal.
- A corrupt installation of Internet Explorer can also be the problem.
- The problem also occurs if the Internet Explorer is not current with the security certificates and other IE updates.
The above list is not exhaustive. There may be other reasons. The listed ones are known issues that I came across while working on Internet Explorer. The following sections offer some possible solutions to remove the popup message.
The complete documentation and how to prevent this is here
Hope it helps!