Javascript question: How do I refresh a window remotely without it being triggered by an event? Ie. I don't want an Onlick, I just want a window.refresh SCRIPT>
September 27, 2005 3:01 AM
Subscribe
Javascript question: How do I refresh a window remotely without it being triggered by an event? Ie. I don't want an Onlick, I just want a window.refresh SCRIPT>
I know I'm on the right lines with window.refresh(); but how do I specify a target?
Thanks so much in advance! I do know a bit of javascript but no enough to choose correct google terminology.
I'm trying to write a php script in a remote window that writes to a database then refreshes the main window and closes itself (i have the code for this)
cheers.
posted by jwhittlestone to computers & internet (8 comments total)
function change(href) { window.location.href = href; }In your remote window, you can simply callopener.change('http://www.google.com');and voilà! Remote window changin' goodness. :)posted by PuGZ at 3:38 AM on September 27, 2005