kamal213 Posted February 13, 2013 Share Posted February 13, 2013 Hi guys, The javascript code below is meant to open two new windows on submit. Its does so no problems on all browser apart from internet explore 9 for so reason. I'm I using a deprecated function? please help. Thanks <script> function popup(popupType) { window.open("<?php echo 'doc_print.php' ?>"); window.open("<?php echo 'doc_installation.php' ?>"); } </script> <form enctype="multipart/form-data" name="form1" method="POST" action="<?php echo 'gps_datahold.php' ?>" onsubmit="popup()"> Comment:<textarea name="g_comment" rows="3" cols="20"></textarea> </form> Quote Link to comment https://forums.phpfreaks.com/topic/274433-opening-2-new-windows/ 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.