How is the name attribute invalid?
http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule

Jörn

On Thu, Mar 5, 2009 at 10:06 AM, zemm <simonenast...@gmail.com> wrote:
>
> Hi,
> using jquery validate plugin seems that I can't avoid to use the
> "name" attribute in the text field for the captcha.
> Actually the validate plugin's remote method allows to send custom
> data, adding a "data" object:
>  remote:{
>                                                  url:"captcha_ck.php",
>                                                  type: "post",
>                                                  data:{
>                                                                security_code: 
> function() {
>                                                                return 
> jQuery("#security_code").val();
>                                                                }
>                                                        }
>                                                  }
>
> but seems that the plugin itself will always look for the "name"
> attribute.
> My actual workaround is assigning the name attribute via jquery on
> document.ready, and it works (I mean, the w3c xhtml validator
> validates), but I still think that using the remote method shouldn't
> force me to use an attribute not compatible with w3c. Am I doing
> something wrong - missed something?

Reply via email to