how to assign a block of html code to a javascript variable

后端 未结 7 1395
天涯浪人
天涯浪人 2020-12-04 18:02

what is the syntax to store a block of html code to a javascript variable?

test.test
7条回答
  •  没有蜡笔的小新
    2020-12-04 18:41

    Just for reference, here is a benchmark of different technique rendering performances,

    http://jsperf.com/zp-string-concatenation/6

    m,

提交回复
热议问题