[jQuery] JQuery validate problem

[jQuery] JQuery validate problem


I have a problem.where i use the jquey validate plugin for my
project.
I want to use the validate like this:
<s:textfield id="name" name="userGroup.name"/>
but it does not work . i should make the id and name property as same.
or named the id as "cname" and name is "name"
if i use the struts2 framework and want to use name like xxx.yyy,what
can i do to resolve this situation? 3x