110,546
社区成员
发帖
与我相关
我的任务
分享
<asp:CheckBox id=cbQutation runat="server" Enabled="false">
</asp:CheckBox>
<span disabled="disabled"><input id="dgOther__ctl3_cbQutation" type="checkbox" name="dgOther:_ctl3:cbQutation" disabled="disabled" /></span>
<span disabled="disabled">...</span>
if(IsAbled)
{
OtherTable.rows[i-1].cells[1].innerHTML = "<FONT face=宋体></FONT> <span disabled><input id=dgOther__ctl"+i+"_cbQutation type=checkbox name=dgOther:_ctl"+i+":cbQutation disabled /></span>";
}
else
{
OtherTable.rows[i-1].cells[1].innerHTML = "<FONT face=宋体></FONT> <input id=dgOther__ctl"+i+"_cbQutation type=checkbox name=dgOther:_ctl"+i+":cbQutation checked=true />";
}
//removeAttribute() 也用了还是不行
<span disabled="disabled"><input id="dgOther__ctl4_cbQutation" type="checkbox" name="dgOther:_ctl4:cbQutation" disabled="disabled" /></span>