codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  javascript to open a pop up then close opener window  mmulyadi at 13:45 on Thursday, August 28, 2008
 

Hi everyone,

I was wondering if I can write javascript code to open a pop up window and then close close the opener window.

For example, in index.html, I have a button that opens a pop up window (popup.html), and it closes index.html in one single click.

Pls help, I've managed to do either to open using "window.open();" or to close a window "window.close();" BUT don't know how to do both.

Thanks in advance...








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Re: Passing value through function then print... GONE WRONG!!
•  looping problem ... a lil help please
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: google search results in a new window?
•  javascript: Cannot successfully pass data from popup to parent
•  javascript to open a pop up then close opener window
•  C++ Design Problem
•  Replay Solutions Virtual Job Fair - Sr. C++ Engineer Wanted
•  Replay Solutions Virtual Job Fair - Sr. Java Technologist Wanted


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008