javascript validation error -


here's code, says error when run through w3.validator.org.

for (var = 0; < checkbox.length; i++)

error message - character "<" first character of delimiter occurred data

how fix this?

if "using" xhtml need wrap code in cdata:

<script type="text/javascript"> //<![cdata[  // rest of javascript goes here  //]]> </script> 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -