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> Link to comment https://forums.phpfreaks.com/topic/274433-opening-2-new-windows/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.