I am facing the problem of opening multiple pages at once in tabs via JS. In Safari it works fine, on my computer also in Chrome. On other computers Chrome and Firefox create only the first tab. Currently the whole thing looks like this:
function openAllTabs(){
var pid = $('#PPid').val();
window.open('exttab.php?typ=Details&pid='+pid);
window.open('exttab.php?typ=Pruefung&pid='+pid);
window.open('exttab.php?typ=EUDaten&pid='+pid);
window.open('exttab.php?typ=EUDateien&pid='+pid);
window.open('exttab.php?typ=DDaten&pid='+pid);
window.open('exttab.php?typ=Hilfe&pid='+pid);
}
Does anyone have an idea why this works in Safari and only sometimes in Chrome? Or is there another solution to create multiple tabs with one click that works in all browsers?