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.
我需要从创建文档片段的不同位置获取 DOM 中存在的文档片段。我的目标最终是通过documentFragment.getElementById('..').
documentFragment.getElementById('..')
这是可能的,还是我需要在创建文档片段时将其存储在内存中?