Create a variable in jquery with html content

前端 未结 5 1010
死守一世寂寞
死守一世寂寞 2021-02-09 13:18

Hi I am trying to create a variable in jquery that contains a table for outputting in different areas of a website. But it is giving me an error, and I do not understand why. He

5条回答
  •  爱一瞬间的悲伤
    2021-02-09 13:48

    Syntax error due to wrongly assigned string.

    concatenate the lines

    var copy = "" 
                + "";
      ....
    

    提交回复
    热议问题