W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

[VE][108] Ther is no attribute onclick

From: Rafael Sposito <rafaelsposito@gmail.com>
Date: Tue, 14 Aug 2007 04:23:25 -0300
Message-ID: <cf4b31030708140023kee4f06em1fa9d41dab0e5346@mail.gmail.com>
To: www-validator@w3.org
Error [108]: "there is no attribute X"

I'm using xhtml transitional 1.0 and i have a form which i want to validate
via javascript. so i have my submit button:

<input type="submit" id="botao" onClick="javascript: return
ValidaLogin();" value="Entrar" class="bt" />

Then w3c says there is no attribute onClick. so how do I validate my form??

And it also says there is no attribute onKeyDown which I use in my textboxes
for if i have more than one button on my page, I use the keydown event so
that when the user hits enter, I activate the click of the right button for
the textbox he is in.
If I can't use onKeyDown, how do I do this??
Received on Tuesday, 14 August 2007 12:46:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC