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 116973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:15:45+00:00 2026-05-11T03:15:45+00:00

OK, every other browser works fine with the method I have coded so far

  • 0

OK, every other browser works fine with the method I have coded so far but for some reason Internet Explorer will not work. I have spent hours of time (more time than actually developing the feature!) on compatibility and am close to giving up!

I have a forum and one of its neat features is the WYSIWYG editor. For that, I essentially have an IFrame that acts as the document:

<iframe name='writer' src='/scripts/blank.html' class='writer'></iframe> 

This is the current state of the JavaScript (constantly updated):

function initEditor() {     w = frames['writer']     wc = g('writerCopy')      if(w == null) return      frames['writer'].document.designMode = 'on'     frames['writer'].document.body.innerHTML = styleSheet+wc.value     frames['writer'].focus() } 

It works partially now, but fails on the line:

frames['writer'].document.body.innerHTML = styleSheet+wc.value 

in Internet Explorer with ”frames.writer.document.body’ is null or not an object’.

  • 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. 2026-05-11T03:15:46+00:00Added an answer on May 11, 2026 at 3:15 am

    In the end I used frames[‘frameName’].document.write(‘someText’) but only if the other method fails.

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

Sidebar

Related Questions

I have this page, which works fine in every other browser than IE: http://www.portable-shade.com/products.html
I'm having trouble with some JavaScript that I've written, but only with Internet Explorer
It works on Chrome and every other browser, just not IE, I've made an
Like every other web developer on the planet, I have an issue with users
I will choose Java as an example, most people know it, though every other
Pretty much every other editor that isn't a vi descendant (vim, cream, vi-emu) seems
I use log4net in just about every code project. I was wondering what other
Every time I turn on my company-owned development machine, I have to kill 10+
Every project invariably needs some type of reporting functionality. From a foreach loop in
I'm trying to duplicate the getsatisfaction tab kind of effect - it works fine

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.