I want to open 2 website in a new tab not in new window, but when the code runs, it opens first link but not the second one. Here is my code
<body onclick="doOpen()">
<script type="text/javascript">
function doOpen()
{
window.open("http://website1.com/",'_blank');
window.open("http://website2.com/",'_blank');
}
</script>
I want to open both. Thanks in advance for your help !