document.getelementbyid is null in variable

前端 未结 0 1630
醉酒成梦
醉酒成梦 2021-02-14 19:09

I have noticed strange issue with js now. When I am accesing getelementbyid directly in console, it finds the element successfully. But when I try to save it in variable, it is

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