jquery client side validation ????

jquery client side validation ????

HI,PLZ  How can I make the client side control fields with Struts 2 - jquery1.2 for the following jsp code: 
  1. <s:form action="addSA" validate="true"  theme="xhtml">
  2. <s:textfield label="Name" onChangeTopics="textfieldUpdated" name="name"  />
  3. <s:submit value="addForm"/>
  4. </s:form>

the function validate="true" doesn't give any effect so i want to replace it with the apropriate  javascript validation code (used in jquery).
 Thanks for your help