View Single Post
  #5  
Old 02-12-2008, 11:39 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
The W3C validator does not validate JS code so all you did was hide the JS code from the validator by wrapping it in the comment tags.

This will also hide the JS from any browser that does not support it (hence, the W3C validator).
Reply With Quote