- From: Eric Richards <2eric.richards@gmail.com>
- Date: Sat, 26 Aug 2017 10:34:28 +1200
- To: David Dorward <david@dorward.me.uk>
- Cc: www-validator Community <www-validator@w3.org>
- Message-ID: <CA+Dr9BaKrFz2h-VwuRQEjUHD9OwJx1pLnk7V9zN5J_3z6H+n+w@mail.gmail.com>
Ok here is a error that comes up in JavaScript if you had "and" in a "if" statement like example if (navigator.family == "ie4" *&* navigator.version < 4.1) like the line above picks up 2 errors, it wants if (navigator.family == "ie4" *&* navigator.version < 4.1) >From Eric By the way maybe I do not need that JavaScript anymore? all the same I get cheesed off when I can not use my cell phone on a New Zealand website trademe because it will on display in the lastest mini Opera version I thought that was the reason for having web sites so ALL web browsers worked without error. On Wed, Aug 23, 2017 at 6:56 AM, David Dorward <david@dorward.me.uk> wrote: > > > On 22 Aug 2017, at 19:30, Eric Richards wrote: > > by the way i can not validate one of my HTML pages because the >> validator tells me i have errors in my javescript, thinking it is >> HTML. can it not be set to ignore any javascript (or this case PHP) >> then give a "alert" saying something like "This validator does not do >> .........." >> > > The validator will not report any errors for JavaScript written correctly > according to the rules of HTML (or XHTML depending on the Doctype). I’m not > aware of any knows bugs there (and its a bit of HTML that hasn’t changed > for a long time so I’d be surprised if any cropped up). The fault is most > likely with your code and not the validator. > > Of course, you didn’t provide a test case, so … >
Received on Friday, 25 August 2017 22:34:52 UTC