一般情况下在谷歌对标签使用
contenteditable:true;
可以实现对标签的文字编辑
但是在IE下如果直接对表格 td 标签使用则无效
解决方案是
在 td 中添加可编辑的div元素
<div contenteditable="true" style=" 100%; height: 100%;border:0"></div>
一般情况下在谷歌对标签使用
contenteditable:true;
可以实现对标签的文字编辑
但是在IE下如果直接对表格 td 标签使用则无效
解决方案是
在 td 中添加可编辑的div元素
<div contenteditable="true" style=" 100%; height: 100%;border:0"></div>