Results 1 to 6 of 6

Thread: XHTML 1.1 - onLoad [resolved]

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    XHTML 1.1 - onLoad [resolved]

    When I try validating the file it says that onLoad doesn't exist. How the heck to do you run JS automatically in XHTML then?
    Last edited by Acidic; May 10th, 2004 at 02:45 PM.
    Have I helped you? Please Rate my posts.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    onload or onLoad? XHTML is case sensitive. Should be onload.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    God damn it. Thanks. I've always used onLoad, in fact, I'm sure I was told (in articles) that it is onLoad with a capital L. anways, thanks. I'll probably be having waaay more why doesn't this validate questions coming up.
    Have I helped you? Please Rate my posts.

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Im sure most browsers will work with onLoad as they generally take a very lax approach to parsing. Wish they wouldnt though as the whole point of XHTML was to start forcing developers to write web pages correctly.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    Well, my pages validate as HTML 4.01, but I'm trying to make them work in XHTML 1.1. I guess I'll have to start doing things properly. I'll be time worth spent when it's done though. It just feels soo nice when the document validates for the first time.
    Have I helped you? Please Rate my posts.

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913


    Big warm and fuzzy knowing you are uber XHTML follower!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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