Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

iFrame loading fine in all browsers except IE9.

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am facing an issue wherein an iframe(with a jsp page loaded inside) does not work fine in IE9 alone but it works fine in IE7,IE8 and even other browsers.
The functionality is like I give certain inputs submit the page and a result page appears. In the result page, there are several records and for each record, there is a details button.
When I click on the details button, the details for that particular record is displayed.
When I click on the details button, a javascript function is called on the onclick event of the button.
The javascript sets the iframe as the target for the results to get loaded and then submits the results page.
When the results page is submitted, a STRUTS call is made and another JSP page with details gets loaded inside the target iframe.
In all other browsers, the iframe with details(jsp page) is displayed perfectly, but in IE9 the iframe is displayed but the details inside the iframe is not displayed.

NOTE: The SRC attribute of iframe loads a blank.html page and it does not change even after the page is submitted and only the details from another jsp page gets loaded inside this iframe but the SRC attr does not change.

Few Imp points:
1. When I change the id attribute of the iframe using IE9 developer tool, the details are displayed but when this code is deployed in the server, the code fix does not work.
2. Refreshing the iframe was tried, but I was not successful.
3. I tried replacing the iframe with <div>, <frameset>, and <object> tags but I could not get the same look and feel of the iframe as I get in other browsers.
4. I tried to make my page in IE9 backward compatible to IE7 or IE8 using <META ... content="EmulateIE8"> but was not successful.

Request you to give your views on fixing this issue.
Appreciate your patience in going through the whole issue above.
Posts: 15385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you wrote a lot of stuff, the best ting you could do is write a basic code that demonstrates the problem/what you are doing.

Hey, sticks and stones baby. And maybe a wee mention of my stuff:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!