File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes iframe source getting overridden Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "iframe source getting overridden" Watch "iframe source getting overridden" New topic

iframe source getting overridden

Gitanajali Magani

Joined: Sep 17, 2005
Posts: 13

I have a html page having two iframes with two different sources.

I will be moving forward to some other pages.

When I am coming back to that html page using "internet explorer's" "back option" two iframes are getting loaded with the first iframes' source.

When I refresh that page exclusively, then the second frame is loaded correctly by its original source.

I want to know is that a bug of internet explorer ?

Is there anyway I can handle it in my code, reloading that page once after it is getting loaded, so that the back option does load it properly.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Browsers have always have problems with frames and iframes, that is why people recommend avoiding them.

I agree. Here's the link:
subject: iframe source getting overridden
It's not a secret anymore!