Click to See Complete Forum and Search --> : Add For FORM onSubmit, onBlur, onFocus or onClick W3 Validator Error


Metin METE
03-12-2008, 07:54 AM
hi all,
i'm using some instructions for FORM but i looked is appearing W3 Validator the error which :(

ERROR CODE:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>

ERROR Pic.: http://img517.imageshack.us/img517/3488/errorer5.jpg

Please, Help Me :confused:

ray326
03-12-2008, 12:13 PM
Exactly what it says. There is no "onClick" but there is an "onclick" as you have written it above.

Metin METE
03-14-2008, 12:17 PM
my inspection... the letter is not becoming small or big... it is giving an error always :(

ray326
03-14-2008, 01:19 PM
So if you change it to onclick the error comes back "onclick is not an attribute"?

felgall
03-14-2008, 02:57 PM
That's what happens when you jumble JavaScript into your HTML instead of keeping it separate - you get the validator confused since the javaScript isn't valid HTML.