File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes iframe is not working in IE8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

iframe is not working in IE8

vamshi g

Joined: Sep 12, 2008
Posts: 26
Hi All,

I have one div tag in my jsp, when i am clicking on continue button it will call a javascript function abc().

<div id="xyz"></div>

function abc(){
document.getElementById('xyz').innerHTML='<iframe name="123" id="123" src="dummy.jsp?dfg=dg"></iframe>';

in dummy.jsp (iframe src), onload i called a js function. in this i gave another url like

it working fine in mozill but not working in IE.

I need to work this with in iframe, in IE8 it is not working.
Any suggestion please.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
You've been asked multiple times to fix the display name on your account, but you have chosen not to do so; I'm therefore closing your account. If you wish to have it reopened then you need to contact a moderator and do a little explaining.
I agree. Here's the link:
subject: iframe is not working in IE8
It's not a secret anymore!