当前位置: 代码迷 >> Web前端 >> 批改时单选框的自己选择
  详细解决方案

批改时单选框的自己选择

热度:67   发布时间:2012-11-05 09:35:12.0
修改时单选框的自己选择
<td class="odd" width="15%">
性别:
</td>
<td width="15%">
<input type="radio" name="CEmpSex" value="1" checked="checked" id="sex1">男
<input type="radio" name="CEmpSex" value="0" id="sex0">女
<script type="text/javascript">
document.getElementById("sex${emp.CEmpSex}").checked=true;
</script>
</td>
  相关解决方案