0

When a user clicks on a link, two pages should open in different tabs in the same window.I have used this code

jQuery("#open").on("click",function(){
    window.open("http://www.google.com","_blank");
    window.open("http://www.yahoo.com","_blank");
});

The problem is that first link opens correctly in a different tab in the same window.But the second link is opening in a new window like a pop up window. Here is my fiddle

abinaya
  • 93
  • 9

0 Answers0