Is it common practice to have a string that holds a large DIV and inject that into html using JS

后端 未结 0 1461
终归单人心
终归单人心 2020-12-19 11:36

Is it common practice to store a large div tree as a string in JS and insert it into the HTML using the .innerHTML variable when it\'s needed? For instance, I need to displa

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