Uncaught TypeError: Cannot read property 'childNodes' of null

$(“#subsidiary”).append(trHtml);控制台报
Uncaught TypeError: Cannot read property ‘childNodes’ of null,其实意思很明显,不能添加空子节点。你的子节点的HTML语法不规范,也会被判断为空子节点

猜你喜欢

转载自blog.csdn.net/lkpklpk/article/details/81135562