|
-
May 10th, 2004, 10:30 AM
#1
Thread Starter
Frenzied Member
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. 
-
May 10th, 2004, 02:27 PM
#2
onload or onLoad? XHTML is case sensitive. Should be onload.
-
May 10th, 2004, 02:31 PM
#3
Thread Starter
Frenzied Member
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. 
-
May 10th, 2004, 02:34 PM
#4
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.
-
May 10th, 2004, 02:39 PM
#5
Thread Starter
Frenzied Member
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. 
-
May 10th, 2004, 02:44 PM
#6
Big warm and fuzzy knowing you are uber XHTML follower!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|