[html5] onclick vs. onsubmit

Joseph Oreste Bruni jblist at me.com
Fri Mar 25 09:21:25 PDT 2011


On Mar 24, 2011, at 10:22 PM, Jukka K. Korpela wrote:

> Joseph Oreste Bruni wrote:
> 
>> Error: Bad value return confirm('Allow?') for attribute onclick on
>> element input:
> [...]
>> Perhaps only the validator is invalid?
> 
> This was a bug in the validator, first (?) reported in January:
> http://lists.w3.org/Archives/Public/www-validator/2011Jan/0057.html
> 
> It seems that the bug has now been fixed. Your markup passes validation, and so do other cases that were previously flagged as invalid.
> 
> -- 
> Yucca, http://www.cs.tut.fi/~jkorpela/ 


Apparently I have been ambiguous about assuming the identity of "THE" validator. The one I was using still seems to have the error that was corrected previously. I was using the one located at http://html5.validator.nu/ not the one located at http://validator.w3.org/.

When I use the one at w3.org the code checks out.

Thanks for your answer!

-Joe




More information about the Help mailing list