*
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
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: 41108
    
  45
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.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: iframe is not working in IE8
 
Similar Threads
not able to get width and height of another html file inside html
Iframe with Mozilla
iframe problem
javascript problem with safari,but working with IE
<div> question