-
JavaScript is causing my page not to validate
I'm not a web design newbie but javascript is not my forte. I am using a javascript on my page that requires the user to click a checkbox before the submit buttom becomes active. The page is 100% xhtml strict valid, except when I add the javascript. The javascript wrecks havoc on the validator. The error messages on the W3C validator make no sense to me. The page seems to function fine, and the script functions fine, but it causes all kind of error messages when validating. Is there any javascript pro here that can take a look at the W3C error messages my code generates and offer any suggestions? My test page is here.
note: the button has not been added to the test page yet. i'm trying to get it to validate before I proceed any further.
-
-
Make your script external.
Serving XHTML isn't currently a good idea, though. See this thread for a detailed discussion.
-
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
Bookmarks