469,949 Members | 2,190 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

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.refresh" and "self.reload", 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
Jul 20 '05 #1
1 11962
"Falc2199" wrote on 15/11/2003:
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.refresh" and "self.reload", 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?


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

Use self.location.reload() 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.uk (remove [no-spam] to reply)
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by ZoombyWoof | last post: by
14 posts views Thread by Shiperton Henethe | last post: by
2 posts views Thread by Tipu Sattar | last post: by
1 post views Thread by Marco Maroni | last post: by
reply views Thread by Brad White | last post: by
2 posts views Thread by Pop | last post: by
4 posts views Thread by prodigyjohn | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.