- From: Franco Catena <francocatena@gmail.com>
- Date: Fri, 21 Jan 2011 13:11:23 -0300
- To: www-validator@w3.org
Received on Saturday, 22 January 2011 07:06:34 UTC
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.
Received on Saturday, 22 January 2011 07:06:34 UTC