What is the point in document.getElementById when you can select the element without it?

前端 未结 0 1938
南方客
南方客 2020-12-15 05:36

Hello this might be a stupid question but what is the point in the document.GetElementById function when you can just select the element like so:

         


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