SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2005
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Document.write not working in IE?

    I've noticed that I can't get Document.Write to work in IE7 although it works in Firefox.

    It's an HTML 4.01 Strict doc.
    I've got standalone IE's on my machine, which I know may not work properly and wonder if this might cause it somehow?

    Otherwise no idea....anyone any thoughts?

    I don't really want to use Document.Write anyway, btw, it's just an experiment!

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,343
    Mentioned
    192 Post(s)
    Tagged
    4 Thread(s)
    In both places you referenced the command it is Sentence Case.
    That is VB syntax but Javascript is lowercase.
    Try 'document.write', which is the standard. Perhaps this is one place IE is closer to the standard and less forgiving !!!
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  3. #3
    SitePoint Zealot
    Join Date
    Sep 2005
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ParkinT View Post
    In both places you referenced the command it is Sentence Case.
    That is VB syntax but Javascript is lowercase.
    Try 'document.write', which is the standard. Perhaps this is one place IE is closer to the standard and less forgiving !!!
    Cheers. Actually that was my mistake, I hadn't written that in the code. However it seems the problem was with my security settings, which annoyingly seem to keep resetting themselves! in this case disabling scripting!


Bookmarks

Posting Permissions

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