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:
Multiple instances of database (2003)
Where is f2? (1997)
Wanted: Broader string manipulation functions (1997)
Template Cache problem, bombing WebSTAR problem (2000)
MacActivity and PCS (1997)
t or f (1997)
Webcatalog error, Plug-in for Webstar (1996)
Highlighting words found in a keyword search (2003)
foreign character sets and conversions (1998)
WebMerchant 1.6 and SHTML (1997)
RE: [WebDNA] DNA suffix (2008)
Signal Raised Error (1997)
searching with groups (1997)
Can WC remember people? (1998)
Webcatalog/Butler (1998)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
Protect Tag (2003)
[isfile] ? (1997)
Webcat causing crashes left and right! (1997)