[html5] onclick vs. onsubmit

Jukka K. Korpela jukka.k.korpela at kolumbus.fi
Thu Mar 24 22:22:31 PDT 2011


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/ 




More information about the Help mailing list