Why can't you assign node properties to variables to manipulate the DOM?

后端 未结 0 1599
旧巷少年郎
旧巷少年郎 2020-12-17 05:53

I would expect the textContent of both "foo1" and "foo2" to be replaced by "bar1" and "bar2" respectively in the following code:

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