XHTML 1.0 Strict, onClick rejected by validator?

Anonym9090907/15/2008 02:29 PM Report
I have XHTML 1.0 Strict document this code in it:

<input type="submit" name="logSubmit" value="Login" onClick="SomeAction();" />

But validator reports:
Line 33, Column 118: there is no attribute "onClick".

Any solution?

Answers

Add a answer ▾

Discussion

Anonym7565007/21/2008 10:26 AM Report
You must change the case from "onClick" to "onclick" and it will be ok.
Add a question comment ▾