This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes iframe is not working in IE8 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

iframe is not working in IE8

vamshi g
Greenhorn

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
window.location.href='https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=dfhf&busi=dsgdf';

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.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35438
    
    9
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: iframe is not working in IE8
 
Similar Threads
iframe problem
<div> question
Iframe with Mozilla
not able to get width and height of another html file inside html
javascript problem with safari,but working with IE