Results 1 to 4 of 4

Thread: [FireFox & innerHTML] or [document.write that doesn't wipe rest of page data]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Disiance's Avatar
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    439

    Resolved [FireFox & innerHTML] or [document.write that doesn't wipe rest of page data]

    Alright, I have a frame and I want it to put text into the other frame. Now, there's two ways I can do it. I can use
    Code:
    parent.MyFrame.document.write ("data");
    which wipes the rest of the page away or I can use
    [CODE]parent.MyFrame.MyDIV.innerHTML =
    Code:
    parent.MyFrame.MyDIV.innerHTML + 'new text<BR>';
    The first is undesirable because the entire page is wiped clean to insert the new text. The second won't work in FireFox. My question: Is there anyway to keep a document.write() from deleting the rest of the page, or is their an equivilent to the innerHTML property in FF?
    Last edited by Disiance; Jul 2nd, 2005 at 10:38 AM.
    "I don't want to live alone until I'm married" - M.M.R.P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width