Ontola > Other > discussion
| Report

XHTML 1.0 Strict, onClick rejected by validator?

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?
Topics: Other

1 Replies

| Report
You must change the case from "onClick" to "onclick" and it will be ok.
No regstration needed to add reply
Insert: Picture