http://www.lincolnsrealdeals.com/loc2f.php produces three javascript errors:

Line 49, Column 27: character ";" not allowed in attribute specification list

Line 49, Column 27: element "innerdivs.length" undefined

Line 54, Column 9: end tag for "innerdivs.length" omitted, but OMITTAG NO was specified

What are the errors really saying?

the first error says that, ";" is not allowed for an attribute type. maybe your attribute contains a semi colon.

the second error is telling you that innerdivs.length is not known by the program. Maybe there is no "innerdivs" element.

I think the answer has to do with CDATA comments:

//<![CDATA[

and

//]]>

Moving the javascript to an external file eliminates the errors. Shouldn't the CDATA comment hide the javascript from the validator?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.