---
title: "修改时单选框的自己选择"
author: "ware"
date: "2010-12-06T14:45:16Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-12-06T14:45:16Z"
id: 834532
url: "https://ware.iteye.com/blog/834532"
---

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