|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i am facing the problem in opening new window. the contents of the new window did't updated each time i open it. when i want to read it, i have to go to the new window file and press the refresh button and then go back to the parent file to open it.
may i know how to refresh the contents of new window automatically each time the user click on the link of open new window in the parent file? |
|
#2
|
|||
|
|||
|
I don't know if this is what you're looking for, but you can create a reload button on your page:
<a href=javascript:window.location.reload()>REFRESH</a> If you really want to bug people, try this: <body onload=window.location.reload()> (you've been warned). |
|
#3
|
|||
|
|||
|
i am sorry may be your're misunderstanding. what i means is when i click on open new window button, i want the page of the new window that open to refresh automatically one time without pressing any link or button.
|
|
#4
|
|||
|
|||
|
Well in the page that is being opened in the popup you should put these inside the head section:
<meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="0"> This will force it to always retrieve a fresh copy of the page when opened. Spookster ------------------ Visit the WSAbstract Help Forum for your Javascript, DHTML, or General Web Design Questions |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > open new window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|