Page 1 of 1

urgent : refreshing window?

Posted: Mon Dec 13, 2004 1:07 am
by localhost
i have a page with news on it and and edit button on pressing edit button new window pops up and after editing it is closed..but i want is that after closing the window with news should refresh so the i can see the editing i have done...

Posted: Mon Dec 13, 2004 1:24 am
by kettle_drum
Since the page is already loaded you cant use PHP to refresh it but you can easily use javascript. Search the forum for it, or google, and im sure you'll find lots of info on how to do it.

solved

Posted: Mon Dec 13, 2004 3:08 am
by localhost
problem solved

setTimeout( "refresh()", 6*1000 );

function refresh()
{
window.location.reload (true);
}