hy I have an administration site (admin.php) from there I get to a pop-up window where I make a database query and update the data. when I close that window I would like my admin site to refresh, so that the newest (just updated) information is visible. Is that possible? or do I have to instead refresh the site every x seconds? how would that work?
thanks for any help!
Javascript might be easier to do this
<BODY onUnload="window.location.href.reload()">
where window is the window that you want to refresh.
That should do the trick.
Let me know how everything works out.
-Chad
I have no idea of javascript:-( do I have to put that code in the popup window? you say window is the window I want to refresh...do I have to put <BODY onUnload="amin.php.location.href.reload()"> ? thanks!
hmmmmm... lemme feelmy way around and find the code as you would need it. It's been a while since I coded Javascript.
Hi, may be this:
<BODY onUnload="opener.location.href.reload()">
This is to put in popup window to refresh the window that open this one.
see you
Hi,
Javascript DOM is not so hard there good articles on the web.
Try this to understand DOM:
http://hotwired.lycos.com/webmonkey/97/32/index1a.html?tw=authoring