SRC attribute does not accept variables in javascript

前端 未结 0 1143
無奈伤痛
無奈伤痛 2020-11-29 18:20

Is there any way to make the src attribute of document.createElement accept a variable?

I want to create a modal which pops up when an image is clicked and the image

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