W3C home > Mailing lists > Public > www-validator@w3.org > April 2011

Re: [VE][html5] HTML5 onclick with invalid return

From: Franco Catena <francocatena@gmail.com>
Date: Mon, 25 Apr 2011 15:15:17 -0300
Message-ID: <BANLkTik125GckBXiq3F55L5C+CMkGj9jBg@mail.gmail.com>
To: "Michael[tm] Smith" <mike@w3.org>
Cc: www-validator@w3.org
Hi Mike,

It works great, thank you very much for taking the time and fix this.

Regards,

Franco Catena,

On Mon, Apr 25, 2011 at 11:16 AM, Michael[tm] Smith <mike@w3.org> wrote:

> Hi Franco,
>
> So for not having replied to this before now. I have since fixed the bug
> that was causing this, and pushed the fix to the validator. So please check
> it again, and if you're still seeing this problem, let me know
>
>  --Mike
>
> Franco Catena <francocatena@gmail.com>, 2011-01-21 13:11 -0300:
>
> > I have this link:
> >
> > <a onclick="$('name').setValue(' '); return false;" href="#">X</a>
> >
> > And the validator gives me:
> >
> > Bad value $('name').setValue(' '); return false; for attribute onclick on
> > element a: invalid return
> >
> > I don't think that this is an "invalid" return statement, in fact there
> is
> > an example in this page: http://www.w3.org/TR/html5/author/history.htmlwith
> > a similar use.
> >
> > Regards.
> >
> > Franco Catena.
>
> --
> Michael[tm] Smith
> http://people.w3.org/mike
>
Received on Monday, 25 April 2011 18:17:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:46 GMT