You are here: Re: W3C html validator flags error in javascript « HTML « IT news, forums, messages
Re: W3C html validator flags error in javascript

Posted by Toby Inkster on 03/25/06 16:54

xyZed wrote:

> I have several affiliate links stopping my pages validating. They use
> javascript which I don't understand. Apparently it's a known issue
> that html validators can erroneously flag javascript errors.

Firstly, the validator is not erroneous -- it is acting correctly -- your
HTML is invalid.

Secondly, there is no Javascript error. The Javascript is fine in itself;
it has simply been embedded into the HTML wrongly.

> I have read the information on this page
> http://www.htmlhelp.com/tools/validator/problems.html#script
> which offers a solution. But I do not want to accidently disable the
> javascript functions of my affiliate links by adding stuff I don't
> understand.

The solution proposed on that page is fine. It won't change how your
Javascript operates.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация