<script language="JavaScript"> <BR>function isreadonly(){ <BR>var obj = document.getElementById("username"); <BR>obj.setAttribute("readOnly",true); <BR>obj.style.backgroundColor="#d2d2d2"; <BR>} <BR>function readwrite(){ <BR>var obj = document.getElementById("username"); <BR>obj.setAttribute("readOnly",false); <BR>obj.style.backgroundColor="#ffffff"; <BR>} <BR></script>
Java免费学习笔记:立即使用
解锁 Java 大师之旅:从入门到精通的终极指南










