gpt4 book ai didi

javascript - 如何将 HandsOnTable 注释设置为只读

转载 作者:行者123 更新时间:2023-11-28 07:08:53 25 4
gpt4 key购买 nike

我有

comments:true 

在我的 HandsOnTable 中,我手动填充单元格的注释。

现在,我怎样才能使评论只读/不可编辑?

最佳答案

将禁用属性添加到文本区域。

<textarea class="htCommentTextArea" disabled=""></textarea>
$(".htCommentTextArea").attr("disabled","disabled");

关于javascript - 如何将 HandsOnTable 注释设置为只读,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31477819/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com