make a DOM element's content be the one of a document fragment

前端 未结 0 2146
鱼传尺愫
鱼传尺愫 2020-12-21 14:44

I am trying to insert into a DOM element the content of a document fragment (in pure javascript). The working principle is this:

var a = document.getElementby         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题