This is my first post guys..! I am looking for a help in javascript. I have a php page opened in a window called page1.php. page1 has a form from which 2 items are sent to DB to search against. the results will be displayed in page2.php in the same window ( no seperate window). I am trying to accomplish a CLOSE BUTTON on page2.php BUT I can NOT do that since there is some FF security or BUG. and once I close (by clicking on close button that i created) it should close those 2 pages (aka the whole window). How can i accomplish this?? TIA n appreciate it..!
page1.php and page2.php are in the same window? is this with iframes? Unless a website opened the window in firefox, it cannot close it. You can close all spawned child windows though. So you could try doing it via a popup.