aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes FF continually working after removing a dynamic hidden iframe Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "FF continually working after removing a dynamic hidden iframe" Watch "FF continually working after removing a dynamic hidden iframe" New topic
Author

FF continually working after removing a dynamic hidden iframe

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
I use hidden dynamically created iframe to get some additional data from server in JS, so after processing the data I remove the iframe. I noticed that a browser hangs in working state if I remove the iframe. Code looks like:

However not removing iframe can issue accumulating too many iframes and overloading browser resources. Using static hidden frame possible but not desirable. How do you solve the problem? I found some work around but it looks a bit crazy for me, so I want something more reasonable.

IE implementation is a bit different and doesn�t create mentioned problem anyway.


Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56153
    
  13

I don't know why you are driving Firefox out of its mind, but why aren't you just using Ajax for this?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
What do you mean by Ajax? HTTPXML? I'm trying to avoid using ActiveX for some security reason.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56153
    
  13

Well, the firefox implementation of XHR doesn't use activex. What security problems (besides the fact that it's IE) are you trying to avoid by not using the activex XHR on IE?
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
Currently I use 3 browsers Opera, FF, and IE. The last has activex turned off. Certainly underneath implementation of server calling mechanism can use different approaches on different browsers, however I�d like to see it more consistent from esthetical point view.

Anyway, I can live with a work around I found. thank you for your help.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: FF continually working after removing a dynamic hidden iframe
 
Similar Threads
Orielly Maultipart Request : unexpected end of part
jsp not reloaded in frame
Ajax and PDF data via Javascript
A-la "page" scope in JSF 1.2
Ajax form submitting