现在就实现了点击变色,如何点击其他单元格恢复默认色
$(document).ready(function() {
$('td').click(function() {
$(this).css('background-color', 'yellow');
});
参考鼠标点击/悬浮时修改单元格背景接口-https://help.fanruan.com/finereport/doc-view-4301.html
有单元格,也有行列的
如果10.0参考https://bbs.fanruan.com/thread-133907-1-1.html