Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6098471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:09:44+00:00 2026-05-23T13:09:44+00:00

IE9 (standards mode) does not allow you to manipulate iframes in the DOM at

  • 0

IE9 (standards mode) does not allow you to manipulate iframes in the DOM at all. If you use jQueryUI Dialog, or jQuery’s .wrap() function to wrap content that happens to have an iframe in it IE9 will blow up. In fact you don’t even need jQuery, plain old JS will work just fine (see below).

I’d like to know what people think about this since Microsoft says they do this on purpose to address a memory leak.

We’re not sure what to do about this. Putting all our docs that use iframes into Quirks mode seems wrong. But we’re not sure what the alternatives are. Any ideas? TIA.

Javascript Sample Code:

       <p id="after"></p>

..put iframe here…

        <script type="text/javascript">
            //uncomment code below in IE9 standards mode to see error
            //document.getElementById("after").appendChild(document.getElementById("iframe"));
        </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:09:45+00:00Added an answer on May 23, 2026 at 1:09 pm

    After running into this issue I’ve succumbed to putting the browser into quirks mode:

            Response.AddHeader("X-UA-Compatible", "IE=8");
    

    Any other solutions are definitely welcome since like tengoal I suspect this isn’t the best option even though it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've noticed that IE9, Firefox and Chrome all allow you to use arbitrary html
I am getting an error in IE9 at the line jQuery( #dialog:ui-dialog ).dialog( destroy
This solution does not work for IE9. I have the following code: $(document).ready(function() {
How can I force Internet Explorer 9 to use standards document mode? I built
This works on all browser except IE9, getAttribute return null on IE9, any ideas
Is IE9 going to allow tbody scrolling via css?
I have a web app that works fine from all browsers (IE9, Firefox, Chrome,
I'm trying to get IE9 to load my page with IE9 standards... I noticed
In IE9 Browser, a page is not displayed properly. Using developer toolbar I have
I have a jQuery slideDown/slideUp animation that runs smoothly in IE9 and Firefox, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.