I am submitting a form using in action=abc.pl
and abc.pl contains the code for opening the new tab and loading different URL on the same page. Here is the code how I am doing (in abc.pl)
window.open('$thisPage')
window.location.href='$nextPage';
But the window.open
opens in new window instead of new Tab.