Herbie Posted November 7, 2006 Share Posted November 7, 2006 I'm currently trying to validate this page:http://www.sweeneyauction.net/index.htmUnfortunatly I have some javascript on all of those lines i'm getting errors in. How do I validate javascript that's in my XHTML? Link to comment Share on other sites More sharing options...
Naive Amoeba Posted November 7, 2006 Share Posted November 7, 2006 I'm currently trying to validate this page:http://www.sweeneyauction.net/index.htmUnfortunatly I have some javascript on all of those lines i'm getting errors in. How do I validate javascript that's in my XHTML?For me it says "No Referer header found!"Because that would suggest that your website is not configered properly. The XHTML validator doesn't really check your javascript as such.. Link to comment Share on other sites More sharing options...
shiftJIS Posted November 7, 2006 Share Posted November 7, 2006 Notice how you have <!-- and --> surrounding all of your CSS style? Also notice that where your javascript starts (line 78), you have a <!--, and the ending --> shows up around line 101. You need to move that further down to right before the ending </script> tag. Link to comment Share on other sites More sharing options...
Herbie Posted November 7, 2006 Author Share Posted November 7, 2006 Notice how you have <!-- and --> surrounding all of your CSS style? Also notice that where your javascript starts (line 78), you have a <!--, and the ending --> shows up around line 101. You need to move that further down to right before the ending </script> tag.This was the problem, THANKS! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now