%@ page contentType="text/html; charset=gb2312"%>
javascript对控件只读属性的设置
“form”为表名名称。
“togethercount”为要设置的控件名称
设置为只读:
form.togethercount.readOnly=true;
设置为可写:
form.togethercount.readOnly=false;
注意:readOnly大小写不能变。