<script type="text/javascript" src="/exLink/jquery.exLink.js"></script>
<link rel="stylesheet" href="/exLink/jquery.exLink.css">
exLink.init();
$(a).click(function(){
var href=$(this).attr("href");
event.preventDefault();
window.open(href, '_blank');
});
$(".newtab").click(function(){
var href=$(this).attr("href");
event.preventDefault();
window.open(href, '_blank');
});
<a href="www.open-in-new-tab.com" target="_blank" ></a>
var windowObjectReference;
var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";
function openNewTab(url,windowname) {
windowObjectReference = window.open(url,windowname strWindowFeatures);
}
<a href="google.com" onclick="openNewTab('google.com','Google')" >New Window</a>