Use the link as follows. After clicking in Chrome, the behavior is expected, but a new tag card will be opened under IE (according to reference, Firefox has the same problem).
<a href= "javascript:void (0);" target= "_blank" >test</a>
After looking for information, found to be resolved as follows.
Block browser default event via onclick: <a onclick= "return false;" href= "javascript:void (0); target=" _blank ">test</a>
or direct: <a target= "_blank" >test</a>
The reason is that three browsers have different processing order for three properties.
Chrome Order: onclick, href-and target
IE and Firefox order: href---target---
- <a onclick="FN ()" >does not appear as a link, because there ' s no href</a>
- <a href="javascript:void (0)" Onclick="FN ()" >FN is called</a>
- <a href="javascript:undefined" onclick="FN ()" >FN is called</a>
- <a href="javascript:" onclick="FN ()" >FN is called too!</a>
A label using href= "javascript:void (0); Not compatible with Chrome in Firefox browser