Parent refreshed by child window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jug

    #1

    Parent refreshed by child window

    Hallo.
    I wonder if I could refresh parent window in PHP when I close child. I know
    that I can refresh but I need to keep entered data which I have in parent
    window.

    Bests
    Jug, Croatia


  • milahu

    #2
    Re: Parent refreshed by child window

    > I wonder if I could refresh parent window in PHP when I close child.

    Definitely not. Only with JavaScript.

    Comment

    • Kimmo Laine

      #3
      Re: Parent refreshed by child window

      "Rich" <rich@newsguy.c om> wrote in message
      news:e35el30204 d@drn.newsguy.c om...[color=blue]
      > On 1 May 2006 09:18:09 -0700, milahu wrote...[color=green]
      >>[color=darkred]
      >>> I wonder if I could refresh parent window in PHP when I close child.[/color]
      >>
      >>Definitely not. Only with JavaScript.
      >>[/color]
      >
      > You could probably create a condition in PHP to print the Javascript code
      > to do
      > that. Since PHP is processed on the server end you couldn't use that
      > directly.
      >[/color]


      That's a "guns don't kill people, people kill people" type statement. Of
      course the script required to close the window can be printed from php but
      that doesn't mean php is doing the closing, it's still the javascript that
      does it. So the answer is still no. Only javascript.

      --
      "ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
      spam@outolempi. net | Gedoon-S @ IRCnet | rot13(xvzzb@bhg byrzcv.arg)


      Comment

      Working...