User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,167 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,326 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1107 | Replies: 1
Reply
Join Date: May 2007
Posts: 10
Reputation: ashkash is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ashkash ashkash is offline Offline
Newbie Poster

iframe not working in IE, works fine in Firefox

  #1  
Jan 4th, 2008
I am trying to implement a customer survey into our webpages. The survey consists of a javascript file which launches an html file in an iframe. When the user meets certain parameters defined in the js file it launches the iframe. This works fine in Firefox and the iframe is launched perfectly. In IE this does not work at all. When the iframe is supposed to be launched the page goes blank. It does not even continue to load the web page and seems to be trying to open the html file, but does not. It does not throw any errors.

The js file is included in a jsp and in the same jsp a function of the js file is called. This is the function that checks if requirements are met and then launches the iframe. The implementation seems to be correct as it does work in Firefox as expected.

In firefox, the webpage loads and the iframe opens the html without a problem. Any ideas why this would happen? I cannot give you a url to see the error as this is in our development environment, but was hoping maybe someone has some experience with an issue like this and can point me in the right direction. Any help is appreciated. thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,731
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 23
Solved Threads: 323
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Rebellion Revamped

Re: iframe not working in IE, works fine in Firefox

  #2  
Jan 5th, 2008
What do you mean by *lauch* an IFRAME? Surely you must be meaning to say you *load* a HTML page in the existing IFRAME? If so, the code which does this might help us in knowing why your web page is not loaded in the IFRAME in IE.
"I don't accept change. I don't deserve to live."

"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:13 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC