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
• Very slow inserts using SqlCommand.ExecuteNonQuery()
• Re: Problem 1 - Email ids conversion code
• Re: vector
• combined 3 functions that do the same thing
• Re: Finding data in hash
• Re: login logout ...
• Visual Basic
• Re: dynamic crystal report generation
• sorting 2 arrays


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