根据id锁定文本中的内容
document.getElementById("reviseOpinionName").disabled = true;


根据id隐藏标签
document.getElementById("notPassAudit").style.display="none"; 隐藏不通过审核按钮
根据id显示标签 document.getElementById("saveDraft").style.display="inline"; 显示添加草稿的按钮


<%String rec = request.getHeader("REFERER");%>
<-input type="button" class="hand btn83x23b" id="cancel" value="取消" onClick="javascript:window.location='<%=rec%>'"/>
一个取消按钮,返回上一个页面并刷新内容


 window.location.href = document.referrer;  返回上一页并刷新