jkkenzie Posted February 10, 2009 Share Posted February 10, 2009 I used javascript to close a small window after i save a record in my databse. This winow came from another window which is opened fully, i want when the small window closes, the other main window goes back to home page Or refreshed. thanks Joe Link to comment https://forums.phpfreaks.com/topic/144586-solved-headerlocation/ Share on other sites More sharing options...
jkkenzie Posted February 10, 2009 Author Share Posted February 10, 2009 Got it working if($Result1){?> <script language=JavaScript> window.close(); opener.location.reload(); </script>; <?php Link to comment https://forums.phpfreaks.com/topic/144586-solved-headerlocation/#findComment-758756 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.