...

View Full Version : Jquery/Javascript Iframe Refesh



questionable
08-14-2009, 03:29 PM
Hi, I'm using FF3.5. I have a page inside an Iframe. Currently to get it to "refresh" I'm using this code.


window.frames["nameOfFrame"].location.href = window.frames["nameOfFrame"].location.href

This works ok, except I need the page to "resend" the data or else It just goes blank. Is there a way to refresh Iframes and get the data resent?

Also if I right click>This Frame>Open Frame in New Tab. This doesn't resend it either :( [This is a much smaller issue though]

How can I refresh and resend this frames information?

IE Code not needed

ckeyrouz
08-14-2009, 03:52 PM
try this:

window.frames["nameOfFrame"].location.reload();

questionable
08-14-2009, 09:51 PM
Works like a charm! Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum