<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>/>女