Forum Moderators: open

Message Too Old, No Replies

Javascript validation

I need to get my javascript to validate in xhtml

         

alanapp

10:54 am on Jun 18, 2005 (gmt 0)



The current code is <script type="text/javascript" src="http://appersoncomp.com/Devotional/s.asp?size=2&date=1&amp body=1&thought=1"></script>

The customer requires that the entire site validate using w3c. The page is xhtml and the & are giving me errors. If I make them &amp the script doesnt work. I usually just ignore the errors of this type and choose working script over valid script . Any help would be appreciated.

Moby_Dim

11:11 am on Jun 18, 2005 (gmt 0)

10+ Year Member



seems you've just missed semicolon : not &amp but &amp;