Home > ASP Development > javascript and wc3 xhtml1.1 validation

javascript and wc3 xhtml1.1 validation



Hi,



does anyone know if there are conflicts between the above??? i have two pages i can't get validated, one is my contact page and another with a slideshow, the two have a form and this doesn't seem to be agreeing with the validator... error messages like form 'name' isn't allowed, i changed this to a 'hidden' element, but then my form stops working hehe... i thought that 'name' was a necessity??? mind you 5/7 pages isn't bad so far



Any help would be appreciated!!!!

    
Guest



Code:


hey people,

ive figured out that to get the validator to ignore the javascript we need to put <![CDATA[ ]]> round the script, just after the <script...> and just before the end!!!

however, this has resulted in my original info not displaying... also all the 'name' attributes need to be changed to 'id'...

if anyone knows how to fix this please let me know!!!
cheers :D



Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved