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:
Notepad problems (1998)
Banners and sort of random display (1997)
Search wbrk (repost) (2001)
New WebCatalog site (1997)
[Replace] (2000)
Problems with cybercash (2000)
Showing unopened cart (1997)
WebDNA Quick Reference (Reserved Words) (2000)
Multi-processor Mac info ... (1997)
Convert Chars Q (2000)
shipcost (1997)
Categories (2000)
how to do multiple prices/item? (1998)
RE: includes and cart numbers (1997)
Return records from another (1997)
WCS Newbie question (1997)
[WebDNA] Retrieving a PDF from an email (2008)
calender with business days (1998)
Max Record length restated as maybe bug (1997)
[WebDNA] Triggers.db wiped completely blank (2011)