function setTableReadOnly(formId){
$("#"+formId+" input").attr("disabled","true");
$("#"+formId+" textarea").attr("disabled","true");
$("#"+formId+" .easyui-combobox").combobox("disable");
}
function setTableEditor(formId){
$("#"+formId+" input").removeAttr("disabled");
$("#"+formId+" textarea").removeAttr("disabled");
$("#"+formId+" .easyui-combobox").combobox("enable")
}
设置表单内的输入控件只读
最新推荐文章于 2023-08-19 16:04:47 发布