<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>/>女
时间: 2024-10-04 23:02:59