PDA

View Full Version : refresh a frame



joecool2005
12-09-2005, 04:04 PM
Hi,

I would like to know if there is any function to refresh a frame in javascript?
How?

Thx
Joe

Twey
12-09-2005, 04:22 PM
Refresh it by setting its location.href to its location.href.

frame.location.href = frame.location.href;

jesse
12-10-2005, 08:18 PM
You could place this in your frame and increase the content digit..

<meta http-equiv="refresh" content="2">

Or forward

<meta http-equiv="refresh" content="2;url=http://www.newu_rl.com/">

Twey
12-10-2005, 08:37 PM
See the words "in Javascript" in the original post? :)