Use variable inside setAttribute()

前端 未结 0 1788
谎友^
谎友^ 2021-02-18 22:14

Just trying to use setAttribute() with an easy example. Code works well when using plain text, but whenever I try to use a variable stops working:

function getIma         


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