patrocine Posted September 10, 2022 Share Posted September 10, 2022 I need when I redirect it to open in a new tab in the browser with _blank but I haven't found how to implement it in the code <script type="text/javascript"> var pagina = 'categories.php<? echo '?cPath=' . $categories['parent_id'] .'&pID=' . $products_id.'&action=new_product'; ?>'; var segundos = 0; function redireccion() { document.location.href=pagina; } setTimeout("redireccion()",segundos); </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.