easyui中有一个奇怪的现象,当你在easyui-dialog中有一个form,form中又有一个radio的时候设置checked="checked"是没有选中效果的。
<div class="easyui-dialog" style="width:550px;top:100px;left:200px;height:600px"
id="addcommonProblem">
<div style="padding:10px 0 10px 30px">
<form id="commonProblemFrom" method="post">
<table style="border-spacing:10px;">
<tr>
<td>初始状态:</td>
</tr>
<tr>
<td>
<input name="status" type="radio" value="0" checked="checked"/>显示
<input name="status" type="radio" value="1" />隐藏
</td>
</tr>
<tr>
<td>标题:</td>
</tr>
<tr>
<td>
<input class="easyui-validatebox" style="width:350px" type="text" name="title" id="title" />
</td>
</tr>
<tr>
<td>内容摘要:</td>
</tr>
<tr>
<td>
  <textarea id="content" name="content" style="height:300px;width:100%;" class="easyui-validatebox"></textarea>
  </td>
</tr>
</table>
</form>
</div>
</div>