我使用的是jQuery可编辑数据表。我希望表中的一些字段应该是不可编辑的。所以我使用类名readOnly
,在CSS中的定义如下:
.readOnly {
readonly: true;
}
但是数据字段没有变为readonly
:该列中的数据是可编辑的。
我该如何克服这个问题呢?
发布于 2012-10-03 23:32:04
使用类名
class="read_only"
这将会起到作用。
https://stackoverflow.com/questions/12710049
复制相似问题