<script type="text/javascript"> $(document).ready(function(){ $("input[@type=radio][name=sex][@value=1]").attr("checked",true); }); </script> 您的性别: <input type="radio" name="sex" value="1" <s:if test="user.sex==1">checked</s:if>/>男 <input type="radio" name="sex" value="0" <s:if test="user.sex==0">checked</s:if>/>女
黑色头发:http://heisetoufa.iteye.com/