How to refresh a pop-up?

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

    #1

    How to refresh a pop-up?

    I have a pop-up that I would like to refresh with the original request
    that opened it when the user clicks a button. Does anyone know the
    function to call?
    I tried "self.refre sh" and "self.reloa d", but it give me an error
    that object does not support this method.

    Can pop-ups be refreshed, or are these only for main windows?

    thanks in advance for any help,
    Jehan
  • Michael Winter

    #2
    Re: How to refresh a pop-up?

    "Falc2199" wrote on 15/11/2003:
    [color=blue]
    > I have a pop-up that I would like to refresh with the original[/color]
    request[color=blue]
    > that opened it when the user clicks a button. Does anyone know the
    > function to call?
    > I tried "self.refre sh" and "self.reloa d", but it give me an error
    > that object does not support this method.
    >
    > Can pop-ups be refreshed, or are these only for main windows?[/color]

    I assume that the button is in the pop-up window (as you used 'self').

    Use self.location.r eload() to refresh the current page. If the page
    may have changed since it was last loaded, specify boolean true as a
    parameter (i.e. reload( true ) ).

    Mike

    --
    Michael Winter
    M.Winter@[no-spam]blueyonder.co.u k (remove [no-spam] to reply)


    Comment

    Working...