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

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.html with
> a similar use.
> 
> Regards.
> 
> Franco Catena.

-- 
Michael[tm] Smith
http://people.w3.org/mike

Received on Monday, 25 April 2011 14:16:07 UTC