By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

How to refresh a pop-up?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
"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.