Re: OT-JS question
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40176
interpreted = N
texte = >Hi all,>>I looked all over the net, but cant find the solution to this little>problem, so please forgive this OT.>>I open a window with window.open() then in that window I do some>modification of a database.>>Ok, here is my problem: As soon as I save the modification I want this>window to be closed AND the main window to be reloaded.>>I figured to close the window to insert a onload=window.close() in the>body tag, and it works, but the main window is not reloaded. As soon as I>put in a redirect it DOES not close window and shows the redirected page in>this window.
close meTry this.The part you are interested in is window.opener this targets the window that opened the current window.Hope that helps,-- Sam LewisSamLewis.comTel: 626-852-0956 Fax: 916-404-5698-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Hi all,>>I looked all over the net, but cant find the solution to this little>problem, so please forgive this OT.>>I open a window with window.open() then in that window I do some>modification of a database.>>Ok, here is my problem: As soon as I save the modification I want this>window to be closed AND the main window to be reloaded.>>I figured to close the window to insert a onload=window.close() in the>body tag, and it works, but the main window is not reloaded. As soon as I>put in a redirect it DOES not close window and shows the redirected page in>this window.close meTry this.The part you are interested in is window.opener this targets the window that opened the current window.Hope that helps,-- Sam LewisSamLewis.comTel: 626-852-0956 Fax: 916-404-5698-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Sam Lewis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
More questions about serial number dishing (1997)
Protect vs Authenicate (1997)
WebCat2b13 Command Reference Doc error (1997)
quick [middle] Q (2000)
WebDNA for Window 2000 Server (2003)
RAM variables (1997)
Template Encryption (1998)
Post Limits (1998)
Creating a back button (1999)
WC2.0 Memory Requirements (1997)
Browser Back button (2003)
Search in 2 or more catalogs (1997)
Country & Ship-to address & other fields ? (1997)
Search in 2 or more catalogs (1997)
Cookie still not working (1999)
Append..... doesn't (2000)
Robert Minor duplicate mail (1997)
Putting a page between checkout and invoice (1999)
PROBLEMS WITH PROTECT TAG (2004)
Writing to PDF (2003)