[SOLVED] urgent : refreshing window?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
localhost
Forum Commoner
Posts: 43
Joined: Tue Dec 07, 2004 4:52 am
Location: islamabad
Contact:

urgent : refreshing window?

Post 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...
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
localhost
Forum Commoner
Posts: 43
Joined: Tue Dec 07, 2004 4:52 am
Location: islamabad
Contact:

solved

Post by localhost »

problem solved

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

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