页面表单元素置灰不可用的设立

页面表单元素置灰不可用的设置

$("#contentForm").find("input").each(function(){
   $(this).attr("disabled","disabled");
  });
  $("#contentForm").find("textarea").each(function(){
   $(this).attr("disabled","disabled");
  });