Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
t.tBodies(0).appendChild(r);不能在 Firefox 中工作。这是 javascript 代码,用于创建动态表格元素。请指教。
t.tBodies(0).appendChild(r);
尝试更换:
和:
t.tBodies[0].appendChild(r);
它有效吗?